如何让 Eclipse 与我的 SVN 结帐配合良好?
我签出了一个 SVN 存储库,并围绕它设置了一个 Eclipse 项目。当 Eclipse 构建时,它似乎取消了输出目录中的 svn:ignore '*' 设置,并且还导致源文件被复制到输出文件夹中。删除目录并从存储库更新一个新目录可以修复该问题,直到 Eclipse 再次构建,但每次我想提交时都必须这样做,这很烦人。
我已将 Eclipse 设置为忽略 .svn 目录,如下所述: http://www.damonkohler.com/2009/ 07/make-eclipse-ignore-svn-directories.html
示例svn status
:
S classes ... ? classes/dojo/Main$1.class ? classes/dojo/Main$2.class ! classes/dojo/Preferences.java ! classes/dojo/Deck.java ...
I have an SVN repository checked out and have an Eclipse project set up around it. When Eclipse builds it seems to be unsetting the svn:ignore '*' inside the output directory and also causing the source files to be copied into the output folders. Removing the directory and updating a new one from the repository fixes it until Eclipse builds again but it is annoying to have to do that every time I want to commit.
I have Eclipse set up to ignore .svn directories as described here:
http://www.damonkohler.com/2009/07/make-eclipse-ignore-svn-directories.html
Example svn status
:
S classes ... ? classes/dojo/Main$1.class ? classes/dojo/Main$2.class ! classes/dojo/Preferences.java ! classes/dojo/Deck.java ...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
处理此问题的最佳方法是安装 Eclipse 插件以供 SVN 使用,例如 subclipse 或 Subversive。
The best way to handle this is to install a Eclipse Plugin for SVN usage like subclipse or Subversive.
是否在“窗口”->“首选项”->“团队”->“忽略的资源”中检查了 .svn 和 .svntemp ?
Are .svn and .svntemp checked in Window->Preferences->Team->Ignored Resources?
这是否类似于此线程?
Is this like in this thread?