简体   繁体   English

Eclipse:从构建或类路径文件强制更新/重建的方法?

[英]Eclipse: Way for force updating/rebuilding from a build or classpath file?

Eclipse 3.8.2 Eclipse 3.8.2

I'm working on a large project in Eclipse, composed of dozens of Eclipse plugins. 我正在Eclipse中进行一个大型项目,该项目由数十个Eclipse插件组成。 I did a Team > Update > Head to get a fresh set of code down. 我执行了“团队”>“更新”>“负责”,以获取一组新的代码。 I then did a clean and build, but got many errors. 然后,我进行了清理和构建,但遇到许多错误。

I had several "build path invalid" errors, that a team mate helped me fix by instructing to open up some build, classpath and manifest files, typing a blank space, removing the space, and saving. 我有几个“构建路径无效”错误,一个队友通过指示打开一些构建,类路径和清单文件,键入空格,删除空间并保存来帮助我修复。

That forced eclipse to take another look at those files and reset things, making the errors go away. 这迫使Eclipse再次查看这些文件并重置内容,从而使错误消失了。

My question is, is there an automatic way to make eclipse look at those kind files without having to to trick it into doing so? 我的问题是,是否有一种自动方法可以使eclipse看到那些同类文件而不必欺骗它?

关闭和重新打开项目通常会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM