.classpath 文件
Xml代码 :
<classpath> <classpathentry excluding="**/.svn/" kind="src" path="src/main/java"/> <classpathentry excluding="**/.svn/" kind="src" output="target/test-classes" path="src/test/java"/> <classpathentry excluding="**/.svn/" kind="src" path="src/main/resources"/> <classpathentry kind="output" path="webapp/WEB-INF/classes"/> <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> </classpath>
"excluding="**/.svn/"" 这句话是关键
这样 Eclipse编译的时候 就不会 SVN相关文件 copy到 classes下面了