Hello!
We have several SVN repositories on a SVN 1.6 server containing Powerbuilder applications (v 12.5.2) - among other files. I plan to use the SVN 1.7 client and TortoiseSVN 1.7 as well - and maybe Agent SVN. I am completely new to that tool and would like to ask if you might want to help me with a short guideline on how to create functional workspaces and PB projects.
The repositories each contain the files of one PB app and were so far managed through PushOK's SVNSCC. So PBG's are present but no PBL's. Our goal is to build a completely new workspace for each app each containing a PB workspace, several PBLs spread over different subdirectories – plus some PBLs containing a common class library whose repository is linked via an SVN „external“ property. We would be happy if somebody might want to show us the best way...
And another newbie question: Do we always have to edit AgentSVN's configuration if we want to switch to another PB workspace bound to a different repository?
Thanks a lot!
Jeff
Create new workspaces bound to existing repositories
Hi Jeff,
On this page there is a video showing how to create a PB workspace and add it to Subversion using Agent SVN: http://www.zeusedit.com/agent/pb/classic.html
This would be my suggestion.
Lets assume you have a simple PB project bound to Subversion using PushOK.
As a test I would do the following:
The test above should give you a feel for how Agent SVN actually works
No.
The repository found in the configuration dialog is the default repository.
So let's imagine you have a new PB workspace.
When that workspace is added to SVN it will get added to whatever is the current default repository found in the configuration dialog.
But once it has been added, that workspace will remain bound to exact same repository even if configuration dialog repository is changed.
Cheers Jussi
PS: These two topics are also worth a read:
Powerbuilder Slowness
http://www.zeusedit.com/zforum/viewtopic.php?t=7167
Powerbuilder 12.5 - Client Library Error
http://www.zeusedit.com/zforum/viewtopic.php?t=7187
I am completely new to that tool and would like to ask if you might want to help me with a short guideline on how to create functional workspaces and PB projects.
On this page there is a video showing how to create a PB workspace and add it to Subversion using Agent SVN: http://www.zeusedit.com/agent/pb/classic.html
We would be happy if somebody might want to show us the best way...
This would be my suggestion.
Lets assume you have a simple PB project bound to Subversion using PushOK.
As a test I would do the following:
- Backup the local working copy of that project. That backup will retain your current PushOK bindings.
- Inside PB open that workspace and in the workspace properties remove the source control bindings. So now the workspace is no longer bound to source control.
- Make sure that the Agent SVN configuration dialog is pointing to the repository of that PB project.
- Now restart PB and in the workspace properties select Agent SVN as the source control provider.
- Leave the project name blank and click on the ... button (see http://www.zeusedit.com/agent/pb/classic.html for details).
- That will bring up the binding dialog and this will allow you to find the project in the repository and it will bind that workspace to that project.
- With the workspace bound you can now start using the source control menus found in PB.
The test above should give you a feel for how Agent SVN actually works

And another newbie question: Do we always have to edit AgentSVN's configuration if we want to switch to another PB workspace bound to a different repository?
No.
The repository found in the configuration dialog is the default repository.
So let's imagine you have a new PB workspace.
When that workspace is added to SVN it will get added to whatever is the current default repository found in the configuration dialog.
But once it has been added, that workspace will remain bound to exact same repository even if configuration dialog repository is changed.
Cheers Jussi
PS: These two topics are also worth a read:
Powerbuilder Slowness
http://www.zeusedit.com/zforum/viewtopic.php?t=7167
Powerbuilder 12.5 - Client Library Error
http://www.zeusedit.com/zforum/viewtopic.php?t=7187
Hi Jussij and thanks somuch for this elaborated answer!
I followed your instructions for one of my projects:
Thanks in advance!
I followed your instructions for one of my projects:
Successful so far - to me the binding appears correct - but all menu items relevant for source control are greyed out after connecting to the repository. Maybe if I send you the log you've got an idea what is wrong? Could I send that log to some private address please?As a test I would do the following:
- Backup the local working copy of that project. That backup will retain your current PushOK bindings.
- Inside PB open that workspace and in the workspace properties remove the source control bindings. So now the workspace is no longer bound to source control.
- Make sure that the Agent SVN configuration dialog is pointing to the repository of that PB project.
- Now restart PB and in the workspace properties select Agent SVN as the source control provider.
- Leave the project name blank and click on the ... button (see http://www.zeusedit.com/agent/pb/classic.html for details).
- That will bring up the binding dialog and this will allow you to find the project in the repository and it will bind that workspace to that project.
- With the workspace bound you can now start using the source control menus found in PB.
Thanks in advance!