0

I'm curious what the repercussions of turning off "Build Automatically" in Eclipse are.

The problem I'm facing is that I use Atlassian SourceTree for my git client, and 80% of the time when I'm performing a git-flow operation like finishing a hotfix, or finishing a release, git will fail the operation because of file permissions. The permission issue is stemming from Eclipse, it notices the files change in the middle of the git-flow operation because it's monitoring those folders, and automatically begins the "Build" operation on the project to bring itself up to date.

有时 git 可以在 Eclipse 踩到它之前完成,但大多数时候它会以权限冲突结束。然后我通常必须放弃所有更改,清理树并再次启动 git 操作。大约有一半的时间我必须在文件权限被释放之前完全关闭 Eclipse。

除了关闭自动构建之外,还有什么明显的解决方案吗?


编辑: 我应该指出,这与 eclipse 构建文件无关,它们都被忽略了,冲突发生在源文件上。

4

1 回答 1

0

似乎不希望 Eclipse 在文件更改后立即自动构建的行为......这是您真正需要的东西吗?

我的建议是关闭它,或者将 Eclipse 设置为仅在您对某个文件执行保存操作时构建...

于 2015-11-19T13:15:33.820 回答