Explore how to filter version control files in Eclipse. svn

Source: Internet
Author: User

When we use version management tools, such as CVS, SVN, or harvest, we will find a lot of unnecessary folders and files out of the code in the Local source code in the checkout, these folders and files are very important for version management tools and cannot be deleted at will, but they seem a little out of the way in our project development.
In Eclipse, You can exclude the following methods:
Method 1:
"Project-> Properties-> Java Build Path", "Source" tab on the right panel, expand "source folder" and you will see "sorted", "Excluded", and "Native library location :",
Add **/. svn/** to Excluded to exclude all svn files from the compilation path.



Method 2:
You can add ",. svn" to the options of Java compiler-> Building-> Output folder-> Filtered resources ".
These two methods can be used to filter any files you want to filter, such as backup files (. bak.

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.