问题描述
我使用Eclipse Luna 4.4.0.在启动Eclipse并没有进行任何更改之后,有时会重新构建整个工作区,这很烦人.它不是增量构建,而是完全重建(包括清理所有项目的输出文件夹).
I use Eclipse Luna 4.4.0. After I start Eclipse and haven't changed anything it sometimes rebuilds the whole workspace which is sort of annoying. It is not an incremental build, but a full rebuild (which includes cleaning output folders of all projects).
我将自动构建用于项目(所有Java,都使用svn和git),但是自动构建不应导致这种行为.
I use autobuild for projects (all java, using svn and git), but autobuild should not lead to this behaviour.
什么触发了完整的工作空间重建?错误日志不包含任何提示.
What triggers the complete workspace rebuild? The error log does not contain any hint.
推荐答案
通常,生成器按以下方式触发(来自 Eclipse Wiki ).
Generally, the builder gets triggered as follows (from the Eclipse wiki).
我不知道是什么在启动时真正触发了构建(我一直有感觉,它在启动时以某种方式使Eclipse有意义").可能是在启动过程中对某些资源进行了 touch
(如果您使用的是Linux系统)?
I don't know what exactly triggers the build on startup (I've always had the feeling that it somewhow "made sense" for Eclipse to do so when starting). Could it be that some of your resources are touch
ed (if you're on a Linux system) during startup?
它还在Wiki上说了如何关闭自动构建功能(我想您已经完全意识到了这一点):
It also says there on the wiki how to switch off autobuilding (which I guess you're already fully aware of):
Eclipse的bugzilla中也有相关的错误,例如 https://bugs.eclipse.org/bugs/show_bug.cgi?id=73969, https://bugs.eclipse.org/bugs/show_bug.cgi?id = 172444 .
There are also related bugs on Eclipse's bugzilla, e.g. https://bugs.eclipse.org/bugs/show_bug.cgi?id=73969, https://bugs.eclipse.org/bugs/show_bug.cgi?id=172444.
这篇关于为什么Eclipse有时会重建整个工作区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!