Monday, January 28, 2013

Make Eclipse ignore .svn directories

Make Eclipse ignore .svn directories

Eclipse has the annoying little problem where Eclipse will copy .svn folders to the target/classes output folder and then complain about duplicate resources. After wading through some vague solutions, here’s a clear and simple post I found to solve this annoyance.
Make Eclipse ignore .svn directories
Window -> Preferences…, Java -> Compiler -> Building. Under “Output folder” add “, .svn/” to “Filtered Resources” (so that you get “*.launch, .svn/”).
It still works like a charm. Thanks Brian.

No comments: