"Developer IDE" Eclipse's SVN commit ignores unwanted files such as target

Source: Internet
Author: User
Tags svn

The solution to this build failure is to not put the target directory of your project in the SRC Repository, as well as . Project and . Classpath Better not put it on SRC. In the repository.

The only way to do this is to set up an SVN attribute at the root of the project (I'm in Eclipse 3.3 , the SVN plugin is subclipse 1.4.0), before the first commit to SVN, in the new project:
In Eclipse, right-click the project root Team--Set property ... Then in the popup dialog box, the property name is selected "svn:ignore", the property Content input:

Target
. Project
. classpath
. settings

It's OK. It's over. Go into your SVN repository and delete the target directory and the two files (. classpath. Project) that are already in the commit.

I am so after every build has succeeded, hehe.

Another way is to point to "Add Pattern" in the Team---ignored resources, Windows---Preferences, and then put the target and so on a single input on it, so it seems to be once and for all. 。。

"Developer IDE" Eclipse's SVN commit ignores unwanted files such as target

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.