Exclude *.svn files from Eclipse???

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Exclude *.svn files from Eclipse???

Post 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
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

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

Post 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.
(#10850)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

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

Post 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
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

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

Post by josh »

And you have subversive installed?

I don't get this problem with nusphere!
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

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

Post 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.
(#10850)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

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

Post 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...
Post Reply