Powerbuilder 10 and AgentSVN

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
Santiago
Posts: 2
Joined: Thu Jun 27, 2013 6:37 pm

Powerbuilder 10 and AgentSVN

Post by Santiago »

Hi!

I have been trying to make this work without luck...

Even though i looked at the tutorial i dont seem to be able to make it work

here is the deal:

1) the repository is on a https location
2) im using powerbuilder 10 which works on windows xp
3) the PCs here are Win7, we have WinXP on a virtual pc on each desktop
4) our SVN client is Tortoise

1)1I setup AgentSVN to read the https location
2)I create a local folder not under subversion
3)Then i create a new workspace on powerbuilder inside the local folder and a application
4)inside the properties of the workspace, on the source control tab i have:

Source Control System: AGENT SVN
USER ID: blank
Project: blank since i dont have any folder structure
Local Root Directory: the folder created locally with the workspace

When i click on apply this shows up:

Non Specific Error performing SccOpenProject
Source Control is in offline mode
Restoring SCC Offline Status Cache from last backup
Unable to initialize SCC status cache from backup C:\path
Initialization of Agent SVN Failed

where is the problem there


Thanks!
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Project: blank since i dont have any folder structure

The project entry field represents the project name to be stored in the SVN repository.

The local root directory represents the working copy of that project.

If you leave both of these blank it means the workspace is not going to be under source control.

Also if the local root directory does not contain a local working copy then it also means the project is not under source control.

In that case you should be prompted, Do you want to add this project to the source control?

If you work you way through the tutorial it shows how to create a new workspace and add that workspace to the local SVN repository.

The steps outlined will be identical to creating a new workspace in a remote http repository and all you will need to change is the actual location and protocol of the repository.

I rcommend practicing how to use the software by working through the tutorial.

If you can't get the much simpler tutorial to work (with it's local repository) then I don't expect the remote repository setup is going to work.

Cheers Jussi
Santiago
Posts: 2
Joined: Thu Jun 27, 2013 6:37 pm

Post by Santiago »

Thanks for the quick reply Jussi

I didnt fill the project field since all the versioned files on the repository are there.

for example.

my svn directory is "https://area/department/svn

and all the files of the software are in there.

That is what i have in AgentSVN.
I dont have a svn/project/trunk structure, do i need to have it like that?

The local root diretory is not blank, its the locally created folder that is under svn reading the https location

Ill try to give it another try anyway
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

my svn directory is "https://area/department/svn
But that only the root SVN directory.

Inside of that root directory surely you have your different workspaces stored in their own trunk and branch folders :?:

Code: Select all

https://area/department/svn/my_workspace1/trunk
https://area/department/svn/my_workspace1/branch1
https://area/department/svn/my_workspace1/branch2
https://area/department/svn/my_workspace2/trunk
https://area/department/svn/my_workspace3/trunk
https://area/department/svn/my_workspace3/branch
https://area/department/svn/my_workspace4/trunk
Using the example above the Agent SVN project name would be my_workspace1 or my_workspace2 or my_workspace3 defending on which of the workspaces you where actually working on and Agent SVN would add the trunk folder part for you as it assumes you are working on the trunk.

But if you don't supply a project name then Agent SVN has no way of knowing which workspace you are actually working on.

Cheers Jussi
Post Reply