After build, I got tons of class files in build directory which is automatically generated. I don't want to commit them, so I tried to ignore them using Team -> Add to svn:ignore
, but they are already grayed out.
I tried to remove the build directory with Project -> Clean
, but interestingly Subclipse still has them when I tried to commit.
What went wrong? How can I ignore the build directory in Subclipse?
Set the svn:ignore property of the parent directory: svn propset svn:ignore dirname . If you have multiple things to ignore, separate by newlines in the property value.
You cannot ignore a file which is already in the svn repository. Delete that file from the repository and then try it again
I think they already got added in the version control view and not committed yet. I hope you do n't see your files in your subclipse
repository. If so, try performing a project-> team -> cleanup first.
If this doesn't work, please let me know, I will share you the steps to perform the clean-up manually.
Please note: By clean
, I am not referring project clean but I am referring repository cache cleanup
which is maintained in .svn
folder of your project folders.
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