I am using subversive in eclipse to work with svn repo. I was wondering how it's possible to add a package to svn ignore? This is because I have consumed a webservices package (not yet added to SVN) and I want to exclude it from being committed to svn.
I tried right click > Team > Add to svn ignore, but the option was disabled.
UPDATE: the package name i want to ignore is remote.webservice which is a directory called remote and inside it a directory called webservice.
Another way to ignore files is to add them to the global ignore list. The big difference here is that the global ignore list is a client property. It applies to all Subversion projects, but on the client PC only.
The text box “Global ignore pattern” defines what patterns you want to exclude; in my case I wanted to remove bin and obj folders, and ReSharper related files, which typically contain _ReSharper, so I added bin obj _ReSharper to the list of patterns. Et voila!
To ignore files in subversion you want to set the svn:ignore property. You can see more here http://svnbook.red-bean.com/en/1.8/svn.advanced.props.special.ignore.html about half way down. svn propset svn:ignore target . svn propedit svn:ignore .
As a workaround you can ignore a folder by using the "Set property" function on the package one level higher.
Add the following property:
Try Windows->Preferences->Team->Ignored resources
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With