Ignore directory files such as target .project .classpath when myeclipse svn

The solution to this build failure is not to put the  target directory of your project in the src repository, and  .project  and  .classpath  should not be put in the src repository.

The specific method is to set an SVN property in the root directory of the project before committing to SVN for the first time when creating a new project (I am in  eclipse 3.3  , the SVN plug-in is subclipse 1.4.0 ):
in eclipse, right-click Click on the project root directory Team -> Set Property ... Then in the pop-up dialog box, select " svn:ignore " for the Property name, and enter the Property Content:

target
.project
.classpath
.settings

is ok. After entering your SVN repository, delete the target directory and these two files (.classpath .project) that have been committed.

I have been like this every time the build is successful, huh, huh.

Another way is to click "Add Pattern" in Windows -> Preferences -> Team -> Ignored Resources, and then enter the target and other things one by one, which seems to be done once and for all. . .

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326372502&siteId=291194637