PowerVCS Forum
March 28, 2024, 08:34:25 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Shared PBLs  (Read 8947 times)
Phil Wallingford
Global Moderator
Newbie
*****
Posts: 49


View Profile Email
« on: May 07, 2010, 01:27:46 PM »

Files in different Projects will be saved as separate entities in the Repository even if they were initially added from the same PBL.   The result is that you have two different Repository entities updating the same PBL, which is not good. 

What this means is that any shared files (PBLs) should be part of the same Project.

Second the directory structure in the Repository is going to reflect the directory structure of the Workspace/Targets relative to the “Local Root Directory” of the PowerBuilder Workspace.  For example if the Root Directory is C:/source1 and a PBL is in that directory it’s objects will appear at the root of the Repository for that Project.  If the PBL were in C:\source1\base, than the objects for that PBL would be in the ‘base’ subdirectory from the root of the Repository in the Project.  I believe this is what is happening in your case 2.  Although this imposes a restriction in how shared PBLs are structured, I believe this design is the only way to handle the objects with duplicate names.

So if you wish to share objects (PBLs) between Targets, then the rule is:

  1. The Targets must be part of the same Workspace (PowerVCS Project).
  2. The relative paths to the shared objects must be the same in each Target.

Phil
 
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!