Eclipse:如何防止更改类路径后整个项目的重建
每次我更改类路径中的条目时,是否有办法防止 Eclipse 重建整个项目。不幸的是,我必须经常尝试构建路径,并且重建项目需要很长时间(很容易需要 20-30 分钟)。有办法避免这种情况吗?
Is there away to prevent eclipse from rebuilding the entire project every time I change an entry in the class path. Unfortunately, I have to play around with the build path often and rebuilding the projects takes a long time (easily 20-30 mins). Is there away to avoid this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
更简单的方法是在主菜单:项目/自动构建中关闭“自动构建”。这将关闭自动构建模式,因此您可以手动触发它(从同一项目菜单)
A simpler way is turn off "Build Automatically" in Main Menu: Project/Build Automatically. This turns off auto-build mode, so you can trigger it manually (from same Project menu)
它应该执行与更改源代码时相同的操作:分析实际更改并基于这些更改执行增量构建。
It should do the same thing it does when you change your source code: analyze what are the actual changes and perform an incremental build based on those.