开发者

Adding packages from different SVN repositories in a single project

开发者 https://www.devze.com 2023-02-09 15:15 出处:网络
I am tryin开发者_运维技巧g to create a project whose source code comes from 2 different SVN repositories. When I do the svn co pathToRepoA currentDirectory to checkout all the code from the 1st repo,

I am tryin开发者_运维技巧g to create a project whose source code comes from 2 different SVN repositories. When I do the svn co pathToRepoA currentDirectory to checkout all the code from the 1st repo, it runs fine. Now, when I try to checkout some specific packages from the 2nd repo by doing

svn co pathToRepoB/src/main/java/somespecificpackage currentDirectory/src/main/java/nameOfNewPackage

into the same project, it gives me an error that the current directory is already a working directory of a different URL (which is an obvious error). How do I overcome this problem so that I can integrate code (some specific packages) from different repositories into a single project. Thanks!


Use svn externals

0

精彩评论

暂无评论...
验证码 换一张
取 消