如何忽略Subclipse中的构建目录? [英] How can I ignore build directory in Subclipse?

查看:166
本文介绍了如何忽略Subclipse中的构建目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建完成后,我自动生成了build目录中的大量类文件。我不想提交它们,所以我试图忽略它们使用 Team - >添加到svn:ignore ,但它们已经变灰了。





我试图用 Project - >删除构建目录。清洁,但有趣的是,当我尝试提交时,Subclipse仍然有它们。



出了什么问题?如何忽略Subclipse中的构建目录?



解决方案

我必须预先恢复(团队 - >恢复)才能启用(team - > add to svn)项目。
我不知道这与这个更改是相关的,但我必须手动执行 svn update 才能删除一些错误。


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?

解决方案

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.

这篇关于如何忽略Subclipse中的构建目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆