Use SVN externals to reference the central scripts in each of the project 
folders.

On 20.11.2013, at 20:34, Michael <[email protected]> wrote:

> I would like to reduce file duplication by moving a couple of rake build 
> script dependencies to a parent dir level like this:
> 
> Current hierarchy:
> 
> /svn/xcodeprojects
> |
> |-- /svn/xcodeprojects/proj1
> |   |
> |   |-- branches
> |   |
> |   |-- tags
> |   |
> |   |-- trunk
> |   `   |
> |       |-- Rakefile
> |       |
> |       |-- mobile_provisions(dir)
> |       |
> |       `-- scripts(dir)
> |
> |-- /svn/xcodeprojects/proj2
> |   |
> |   |-- branches
> |   |
> |   |-- tags
> |   |
> |   |-- trunk
> |   `   |
> |       |-- Rakefile
> |       |
> |       |-- mobile_provisions(dir)
> |       |
> |       `-- scripts
> 
> 
> Target hierarchy:
> 
> /svn/xcodeprojects
> |
> |-- mobile_provisions(dir)
> |
> |-- scripts(dir)
> |
> |-- /svn/xcodeprojects/proj1
> |   |
> |   |-- branches
> |   |
> |   |-- tags
> |   |
> |   |-- trunk
> |   `   |
> |       |-- Rakefile
> |
> |-- /svn/xcodeprojects/proj2
> |   |
> |   |-- branches
> |   |
> |   |-- tags
> |   |
> |   |-- trunk
> |   `   |
> |       |-- Rakefile
> 
> 
> However, if I set things up like the Target Hierarchy, and I checkout the 
> project at `/svn/xcodeprojects/proj1` the Rakefile found in there cannot 
> reference the mobile_provisions/ or scripts/ anymore? Or is there a way to do 
> this? I would like to avoid checking out the entire `/svn/xcodeprojects` when 
> running a jenkins job for each project. Any other potential solution? Using 
> svn 1.6.x and jenkins 1.538
> 
> Michael
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to