Regards
Arthur
<amy...@merck.com> wrote in message
news:a9bc1a0b-e291-48a5...@n20g2000vba.googlegroups.com...
Thank you for your reply. I was able to download an eval copy of
PushOK SVN. I set it up on my PC. Do you have any instructions on
how you setup your local directory and the PB workspace properties?
I have a local directory c:\svn\gencord which is where I checked out
the SVN files into. For the workspace properties, my local root
directory refers to this location. The project points to the SVNURL
for the local repo. Did you uncheck 'Delete PB generated object
files'? I have all myPowerbuilder objects in the SVN repo including
PBL, PBT, PBC. I question whether the PBL and PBC should be there. I
have no problems using SVN and PushOK for one user. I do run into
some issues when I tested using two PCs where I had checked out the
same file or added a new object from one PC. SVN reports a conflict
with the PBL. Issuing an Update, comit, or going to a previous
revision doesn't resolve the error. Should I not have PBLs, PBT, and
PBC in source control? Do you occasionally run into conflicts that
cannot be resolved? How stable is your source control?
I appreciate any advice or suggestions!
I don't check "Delete PowerBuilder-generated object files" and "Perform diff
on status update". I do check "Suppress prompts to overwrite read-only
files" and "This Project requires that I sometimes work offline". The 2nd
options allows to check out without being connected to the SVN Server.
Don't include PBLs in source control.
The get things started you could copy all your projects files (PBL, PBT,
PBW, etc) in an empty directory (plan to use a subdirectory for each PBL
because of performance issues with SVN otherwise).
Open the Workspace Properties and fill in the information as you did before.
Now you can go to the Target or each PBL and add the objects to source
control.
If the project is under source control already go to an empty directory,
click the right mouse button and choose SVN Check out from the tortoise menu
and enter the project URL. After this you could either use ORCA Script to
build your PBLs or you could copy the PBLs from another workstation, open
the workspace and set the Workspace Properties as before. Get Latest version
and full rebuild after that is a good idea.
Regards
Arthur
<amy...@merck.com> wrote in message
news:7dc4656c-571d-4de0...@z9g2000yqi.googlegroups.com...
--
Paul Horan[Sybase]
paulhoran.pbdjmagazine.com
"Arthur Hefti" <art...@catsoft.ch> wrote in message
news:49a80ae5$1@forums-1-dub...
I have PB objects, PBT, and PBW files in Subversion. I am having some
issues with PBLs not having changes made by another PB user.
Here's my scenario:
1. User 1 made change to a window. This change is in SVN.
2. User 2 does an update to receive this window change from SVN.
3. On User 2, viewed the PB window object in notepad to verify that
change is present.
4. On User 2, open this window. The window does not have the change
anymore.
If PBLS are not in SVN, how would it have received the change to the
window?
Does every PB user run Ocrascript to rebuild PBL files?
Thank you for your help.
Amy
Yes, every user can run orcascript to incrementally update their pbl's
or they can be updated manually by rightclicking on the target and
choosing "get latest version"
You can use, are Jeremy suggested, orca scripts to update (not recreate) the
pbls. If someone works on an object that was changed by another developer,
the latest version is downloaded upon checkout.
Arthur
<amy...@merck.com> wrote in message
news:b6f818b2-6130-4b99...@a12g2000yqm.googlegroups.com...
The process should be something more like this:
1. User 1 checks out the window object.
2. User 1 makes a change and checks it in.
3. User 2 does a "refresh status" on the target, or PBL, or just that object
and notices they're out of sync.
4. User 2 does a "Get Latest Version" on the target, or PBL, or just that
object to get the most recent source from SVN and import it into their local
copy of the PBL automatically. Make sure NOT to click the "Select All"
button.
No messing with SVN commands, no messing with the exported SRW file is
necessary, and registering the PBLs into source control is not necessary.
(And I don't even bother registering the PBW file, since those belong to
each developer and shouldn't need to be source-controlled.)
--
Paul Horan[Sybase]
paulhoran.pbdjmagazine.com
<amy...@merck.com> wrote in message
news:b6f818b2-6130-4b99...@a12g2000yqm.googlegroups.com...
I used to create new libraries from the current contents in
source control but that was using PowerGen with MS VSS. I
don't want to have to say copy another developer's directory
structure and get latest version. I would rather have a
process to build a clean copy of the application.
Russ
create Library ... // for each library
scc set connect property provider ....
SCC set connect property userid ....
scc set connect property localprojpath ".\"
scc set connect property project ...
SCC Connect
SCC set target ... importonly
SCC refresh target "full"
SCC Close
Arthur
<Russ> wrote in message news:49df736d.767...@sybase.com...
So - use your SCC provider's commandline utility to do a full GET of the
desired configuration point first - then call this OrcaScript batch.
And - I recommend "SCC CONNECT OFFLINE", since this batch doesn't require a
connection to the SCC provider.
--
Paul Horan[Sybase]
paulhoran.pbdjmagazine.com
"Arthur Hefti" <art...@catsoft.ch> wrote in message
news:49df785c$1@forums-1-dub...