.pbg files are maintained by powerbuilder to index which objects
should be included in which pbl's. When you right click on a library
or target and choose "get latest version", powerbuilder uses the pbg
files to identify new objects that have been added by other developers
so they can be imported.
Im'm looking for a tool giving the PBG (the objects resides
in the same directory) and it makes a PBL in the same
directory.
Sorry, no experience with MKS. However can't you just add the pbl in
the sub folder into your target's library list and do a get latest
version? Or does the MKS SCC dll have some problems with sub folders?
Note that a pbg generated by PowerBuilder should always contain a path
relative to the workspace's local root folder.... Ah I think I see the
problem.
You should try putting all your workspace's for all your projects in
the same top level folder in source control. Each pbg should then be
modified to contain paths relative to that local root folder.
As far as the "Get Latest Version" process - it is (and must be) a two-step
process, when there are changes to the library list of the target.
1. Right click on the target, select "GLV", and then choose "this target
file only". That gets the new version of the .PBT file, and creates empty
PBLs for any that have been added to the target.
2. Right click on the target again, select "GLV" again, but this time say
"objects IN the target" (the other choice from #1). That brings down the
objects that have been created in the new PBLs and imports the code locally.
Paul Horan[TeamSybase]
<zellhausen> wrote in message news:468c838e.7e4...@sybase.com...
For the bootstrap of a project we have decided to run two
ORCA scripts. One for the project and one for the subproject
(our framework with a dummy appobject). Then it works to
"Get the last version" or a specific build for all our PBLs.
Unfortunately the PB Funktion LibraryImport only support
datawindows, we have to write a small PB program for
creating
the ORCA srcipt dynamicly.
And can you define "doesn't work" a little better? I have a demo of this
that I can show you where it works just fine.
Can you be more specific with your PBL/Library setup? Maybe it's just a
configuration issue or something.
Paul Horan[TeamSybase]
<zellhausen> wrote in message news:468e3ef0.250...@sybase.com...
I think PB looks in the project file from MKS for the PBG
entries. For all these PBG's a PBL with the objects is
created.
But my framework is a subproject with a dummy application
object.
And PB doesn't find the PBG's file in the subproject. You
have to
change the path in properties of the workspace then it
works.
PB only works with the project file from MKS and not with
the target object. I have thought PB will look in the target
for the needed PBL's and look in the specified directory of
the PBL for the PBG and the needed objects.
You've still not described how it "doesn't work". Does it crash? Does it
erupt in flames? Are there any specific error messages to speak of?
The fact that it "works" when you change the Local Root Folder is a clue
that you've got something wrong with your target definition.
This will help:
Open your PBW file and paste the contents here:
>>> PBW file contents
Open your PBT file and paste the contents here (there's only one, right?):
>>> PBT file contents
That will tell me pretty much all I need to know about your library setup.
Paul Horan[TeamSybase]
<zellhausen> wrote in message news:469477fc.488...@sybase.com...
For example you can specify the *.sr* files for a particular
PBL as wild cards. If you have organized your directory
structure to have a directory per PBL, the wild card allows
you to specify that all of the objects in a particular
directory belong in the corresponding PBL.
This simplifies the process considerably and removes the
requirement that the PBG files stay in sync with your
application.
Regards,
Phil
Ben
In article <46966101.780...@sybase.com>, Phil Wallingford says...