Eclipse exclusion patterns
I'm just getting back into doing Java work after a long time in C# land and I'm trying out Eclipse. My one annoyance so far is that I haven't been able to find a way to globally set exclusions on build paths, and I'm wondering if I'm just missing something.
Specifically, we use Subversion for source control which creates ".svn" directories to manage working copy information. If I don't exclude these from the build paths, the wind up in my compiled directory and subversion gets all confused. So I need to go and set an exclude on each of the source folders in my project. Not too bad, really, until I check out a different branch, make a new project, and have to do it again.
Is there any way to just tell Eclipse that I never want to include ".svn" as part of the source in any project I create from now on? Or even just set it once globally for a project (right now I have to add it to each of about 7 top-level source directories)?
Update: Ahh... it looks like I can just copy around the .classpath file as I create new projects, which would simplify things. But if there's some global setting I can use, that would be even better.
Specifically, we use Subversion for source control which creates ".svn" directories to manage working copy information. If I don't exclude these from the build paths, the wind up in my compiled directory and subversion gets all confused. So I need to go and set an exclude on each of the source folders in my project. Not too bad, really, until I check out a different branch, make a new project, and have to do it again.
Is there any way to just tell Eclipse that I never want to include ".svn" as part of the source in any project I create from now on? Or even just set it once globally for a project (right now I have to add it to each of about 7 top-level source directories)?
Update: Ahh... it looks like I can just copy around the .classpath file as I create new projects, which would simplify things. But if there's some global setting I can use, that would be even better.
