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. 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? 回答1: You cannot ignore a file which is already in the svn repository. Delete that file