Problem with svn repositories

I have two projects:

- the first project with some core components used by other projects in the company.
- the second project is a “client specific project” that use components from core components.

These projects are in diferents svn repositories.

I want to compile both projects in one step, the problem is that the option for configure the svn path (we are using the file protocol for access svn) is a general option not a project option. I have two problems with this:

- I can’t automate the compilation process, i need to manually change the svn path option betwen the compilations of core components and specific components.

- I can’t have FBprojects for compile projects that are in diferents svn repositorios in the same machine (i need to manually modify the path svn option before compile) . This is a problem in my company, we have a lot of project in diferents svn repositorios and only one machine for compile purpouses.

¿anyone are in the same situation or know a solution for this?

thanks in advance and sorry for my bad English.



Hi

You can change the svn Default repository option with some script in the BeforeAction script event :

dim opt
set opt = GetOptionsObject(“Subversion”)
opt.DefaultRepository = "file:///whatever"


This will then be picked up by the actions.

This is not ideal, I’ll have to run this by Steve and find out why it’s like this, perhaps we can improve on this for a future version.


this solution works fine!!, sorry I’m not familiarized with the script capabilities of FB.

For future versions i think that this is the ideal solution:

- In general options you can define a list of svn repositorios with a logical name.
- In the svn actions you must select one of the repositories from the list.

thanks for the answer vincent!