When we use version management tools, such as CVS, SVN or harvest, we will find many redundant folders and files outside of the code in the local source code that is checked out. These folders and files are very important for version management tools. , cannot be deleted casually, but it seems a bit obstructive in our project development.
In Eclipse, you can exclude it in the following ways:
Method one:
"Project->Properties->Java Build Path", "Source" tab in the panel on the right, expand "source folder" and you will see "Included", "Excluded" and "Native library location:",
Add "**/.svn/**" to Excluded to exclude all svn files from the compilation path.
Method two:
You can add ",.svn" in the options of Java compiler->Building->Output folder->Filtered resources.
Use these two methods to filter any files you want to filter, such as backup files (.bak), etc.