Page 1 of 1

Exclude *.svn files from Eclipse???

Posted: Wed Nov 25, 2009 8:47 am
by alex.barylski
I've googled and found a few answers on places like StackOverflow.com however none work

Basically when I do a search I constantly get my .svn files showing up in the match which further adds noise to a busy project.

I have tried adding the exclusion **/.svn/ to the build directory of my project but this didn't work.

If you use PDT and know exactly step for step how to add .svn as exclusion from search, etc I would be greateful if you could step by step explain it to me, as I'm relatively new to Eclipse.

Cheers,
Alex

Re: Exclude *.svn files from Eclipse???

Posted: Wed Nov 25, 2009 2:03 pm
by Christopher
I am a little confused why you are seeing the .svn directories in the first place. Did you use the New SVN project wizard to create the project? If not you probably need to recreate the project.

Re: Exclude *.svn files from Eclipse???

Posted: Wed Nov 25, 2009 2:28 pm
by alex.barylski
I use TortoiseSVN to checkout a working copy then started a new project using the source...normally I don't see the .svn folders because Eclipse (in my case) ignores hidden files/folders but in searching I am seeing .svn in the results so I get duplicate finds.

Using Eclipse and starting a project from SVN sounds interesting -- haven't done that yet. What benefits would it offer over using TortoiseSVN? I assume you can probalby use both hand in hand but why would I create a SVN project in Eclipse, except to only get rid of .svn files in a search???

Cheers,
Alex

Re: Exclude *.svn files from Eclipse???

Posted: Wed Nov 25, 2009 5:14 pm
by josh
And you have subversive installed?

I don't get this problem with nusphere!

Re: Exclude *.svn files from Eclipse???

Posted: Wed Nov 25, 2009 5:31 pm
by Christopher
I use the SubEclipse plugin. It allows you to right click on a file, folder or the whole project and do all the usual operations. I mainly do update, commit, compare, get latest, so I am not much of a power user It has been pretty stable, but has occasional configuration problems.. But that is common with all SVN clients I have found.

Re: Exclude *.svn files from Eclipse???

Posted: Wed Nov 25, 2009 6:26 pm
by alex.barylski
I use the SubEclipse plugin. It allows you to right click on a file, folder or the whole project and do all the usual operations. I mainly do update, commit, compare, get latest, so I am not much of a power user It has been pretty stable, but has occasional configuration problems.. But that is common with all SVN clients I have found.
I'm pretty much in the same boat although TortoiseSVN has been really nice to me...because it installs a Windows shell extensions it can occassionally crash your windows.

Eclipse that I have installed at work is incredibly buggy with these annoying errors whihc Google returns little on...I don't think I'd want to install any other plugins for that reason.

Not a major issue, I just figured there might be a 'ignore or exclude' directory feature within the search file dialog that I might be missing...