get rid of .svn folders from your eclipse project's bin

October 11th, 2007
If you are using subversion on your eclipse project's source folders, then you may have noticed .svn folders appearing inside your project's bin folder, even though bin is non-versioned. That happens because eclipse is unaware of the specialness of the .svn folders, and treats them like ordinary resources (thus, simply copying them to bin). This is kind of annoying because the bin folder always seems to be in the modified state, even though it should not be versioned at all.

However, the solution to this problem is fairly simple: Just go to your project Build Path Configure Build Path... Select the Source tab and expand all you specified source folders. For each source folder, highlight Excluded: and press the Edit button. Go to the Exclusion patterns and click the Add button. Enter **/.svn/ and click Ok, Finish, Ok. Now the .svn folders will not show up again in your project's bin folder.

Leave a Reply