解决办法
方式一:
在项目代码路径,如: F:\xyx\sl 鼠标右键,“TortoiseSVN”-- >“Settings” -->“Subversion”–>“Global ignore pattern”
添加:target *.settings .classpath .project ,然后再"运用"–>“确定”,重新编译代码即可
如图所示:

方式二:
在eclipse中,Windows -> Preferences -> Team -> Ignored Resources里点 “Add Pattern”。
添加:target *.settings .classpath .project ,然后再"运用"–>“确定”,重新编译代码即可
如图所示:

本文介绍了解决SVN版本控制系统中不必要跟踪某些文件(如target*.settings.classpath.project)的方法。提供了两种解决方案:一是通过TortoiseSVN的全局忽略模式设置;二是利用Eclipse的资源忽略功能进行配置。这两种方法均能有效避免SVN对指定文件的跟踪,减少版本库的大小,提高操作效率。
1万+

被折叠的 条评论
为什么被折叠?



