Home > Java > Ignore Subversion files in Eclipse and ADT

Ignore Subversion files in Eclipse and ADT

Subversion creates .svn directories all over the place and by default Eclipse and ADT (Android Developer Tools, Eclipse-based) will copy them to target/classes and include them in output archives. I have tried to suppress that with project-specific exclude directives, but it is tricky to get it right and bothersome to repeat the process for every new project. A simple solution is to add “, .svn/” to Filtered resources (Windows/Preferences/Java/Compiler/Building, Output folder/Filtered resources) instead.

Ignore .svn folders

Ignore .svn folders

I found the tip in another blog some time ago, but it is gone.

Advertisements
Categories: Java
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: