Hi,
I would like to build my project based on the files from the multiple svn repositories. First repo URL is http://host1/svn/properties and second repo URL is http://host1/svn/services. I have two tasks configured for checking out from each of this repo. Here, working directory is default for both.
Questions
1. Does the code get checked out under the working directory or under working_directory/http://host1/svn/services and working_directory/http://host1/svn/properties?
2. I have three tasks under one job. First task is to checkout from repo-1. Second task is to checkout from repo-2 and the third task is to run build.xml that got checked out with repo-2. Now, I have unchecked “Force Clean Build” with both task-1 and task-2. However, my files from task-1 get deleted from the working directory and all I am left with is the files from task-2. Is there a way I can stop the task-2 from deleting all the files under working directory?
3. Before, I run the third task, build.xml, I would like to copy some of the files from repo-1 to the checked out directories of repo-2. How do I do that?
4. Is there a better way to pull files from two repositories, then bring files from 1st repo to the directory structure in the 2<sup>nd</sup> repo?
Thanks.
1. Under the directory you specify in the checkout task.
2. You cannot checkout two SVN repositories into the same directory structure, the .svn metadata directories will clash and trigger checkout directory cleanup.
3. You can check them out into separate directories and run a script task to copy or symlink them.
4. You can try using SVN externals to construct the working directory you want.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.