如何禁用在Eclipse中构建项目? [英] How to disable building a project in Eclipse?

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

问题描述



我有一些方法可以在eclipse中保持一个项目在eclipse中没有打开它,但是在eclipse中有几个由于错误而不能构建的项目。我只想使用它们作为参考,而我编辑和构建我的主要项目,但是我无法运行我的主要,因为eclipse抱怨其他项目的所有错误(我的项目不依赖于他们)

解决方案

可以自动禁用构建所有项目,但这通常是过度的。



您可以右键单击资源管理器中的问题项目,并选择项目的属性,而不是自动禁用所有项目。然后选择构建器选项,然后取消选择所有构建器。这将禁用该特定项目的构建。



为了清除以前由自动构建记录的所有构建问题,您可以得到问题或标记选项卡,然后选择所有并删除列出的项目,将重新创建它们(除了在下一次重建中禁用的项目之外)


Is there some way to keep a project open in eclipse without building it?

I have a few projects in eclipse that don't build because of errors. I just want to use them as reference while I edit and build my main project, however I can't run my main because eclipse complains about all the errors from the other projects (my project does not depend on them)

解决方案

It's possible to disable building all project automatically, but this is often overkill.

Rather than disable all projects from building automatically, you can right click the problem project in the explorer and select the properties of the project. Then select the builders option, and deselect all the builders. This disables building of that particular project.

In order to clear all the build problems that were previously logged by auto-building, you can got to "problems" or "Markers" tab, and select all and delete the items listed there, they will be recreated (except for your disabled project on the next rebuild)

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

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