开发者

Eclipse automatically refresh resources and exclude build dir

Eclipse Helios: 40+ project working set, using maven (mvn-eclipse plugin) to generate eclipse project files.

'Resource is out of sync with the file system: ...' Appears after doing, among other things, a text search.

After a bit of googling found Prefs > Workspace > Refresh Automatically which is widely reported to be malfunctional, and 开发者_如何转开发has the same symptom for me. The source files are source controlled, so therefore have lock attributes on them, was curious if this may come into play with this.

Second part is regarding my build directory; eclipse knows proj_root/target is the build directory, but I would like to exclude resource sync'ing in that folder.

I basically never want to see that dialog, and don't want to have to take action to remedy it (ie manually refreshing).


I had the same problem with m2eclipse. Marking target folder as Derived resource worked for me (right-click -> Properties -> Resource -> Derived).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜