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.