Discusses how to filter version control files in Eclipse. SVN

Source: Internet
Author: User
Tags svn

When we use version management tools, such as CVS, SVN, or harvest, there are a lot of extra folders and files that are found outside of code in checkout to local sources, and these folders and files are very important to version management tools and cannot be deleted arbitrarily. But it's a bit of an inconvenience in our project development.
in eclipse, you can exclude it in the following ways:
Method One:
"Project->properties->java build Path", the "source" tab in the right panel, when you expand source folder, you will see "Included", " Excluded "and" Native Library location: ",
By adding "**/.svn/**" to the excluded, you can exclude all SVN files from the compilation path.



Method Two:
You can add ",. svn" in the option's Java compiler->building->output folder->filtered resources.
In both ways, you can filter any files you want to filter, such as backup files (. bak).

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.