Search code examples
javaeclipsesvnbuildsubclipse

How can I ignore build directory in Subclipse?


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.

enter image description here

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?

enter image description here


Solution

  • I had to revert (team -> revert) beforehand to enable the (team -> add to svn) item. I'm not sure this is relevant to this change, but I had to execute svn update manually in order to remove some errors.