SVN:从同一目录中签出其他项目
我们正在使用 subclipse 来检查代码。每个项目在SVN中的位置如下:
http://127.0.0.1/svn/app/project001
http://127.0.0.1/svn/app/project002
http://127.0.0.1/svn/app/project003
...
http://127.0.0.1/svn/app/project601
所有项目都需要签出。
在 Eclipse 中创建新工作区时这不是问题,因为可以选择所有现有项目。然而,当创建一个新项目时,例如http://127.0.0.1/svn/app/project003a
,很容易错过它。
理想情况下,我想突出显示所有现有项目,右键单击,团队同步,并让已添加的任何新项目(在现有项目级别)自动显示在同步视图中。目前这种情况还没有发生(我理解其原因)。
我们当前的解决方案是进入 SVN Repository Exploring 视图,重新签出所有内容,并在 eclipse 询问我们想要覆盖现有目录时单击“否”。这是一个明显的不便,尤其是对于如此多的项目。
我们尝试使用 psf 文件来管理要签出的项目,但发现人们忘记更新它们(包括我自己......)。
有没有人对如何管理这个有更好的建议?它也不必通过 eclipse 完成,但是在尝试 svn 命令行之后我不确定更好的方法。
We are using subclipse to check out code. Each project is located in SVN as follows:
http://127.0.0.1/svn/app/project001
http://127.0.0.1/svn/app/project002
http://127.0.0.1/svn/app/project003
...
http://127.0.0.1/svn/app/project601
All projects are required to be checked out.
This is not a problem when creating a new workspace in eclipse, as all the existing projects can be selected. However, when a new project is created, e.g. http://127.0.0.1/svn/app/project003a
, it can be easily missed.
Ideally, I would like to highlight all the exusting projects, right click, team synchronise, and have any new projects that have been added (at the level of the existing projects) automatically show in the synchronise view. This currently does not happen (and I understand the reasons why).
Our current solution is to go to SVN Repository Exploring view, and re-checkout everything, and click no whenever eclipses asks to we want to overwrite existing directories. This is an obvious inconvenience, especially with so many projects.
We tried using psf files, to manage the projects to be checked out, but found people forget to update them (myself included...).
Does anyoe have any better suggestions of how to manage this? It does not have to be done via eclipse either, but after experimenting with svn command line I am unsure of a better way.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
所有项目是否都在同一个本地文件夹下检出?
即在
/work/
下:然后您可以在名称
work
下签出项目父目录app
:每次您需要更新所有现有的项目/签出新项目,运行
svn update
:Are all the projects checked out under the same local folder?
I.e. under
/work/
:Then you can checkout projects parent directory
app
under the namework
:And every time you need to update all your existing project / checkout new projects, run
svn update
: