Eclipse会自动刷新资源和排除build目录 [英] Eclipse automatically refresh resources and exclude build dir

查看:3047
本文介绍了Eclipse会自动刷新资源和排除build目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse的赫利俄斯:40+项目工作集,使用maven(MVN-Eclipse插件)来生成Eclipse项目文件

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.

在有点谷歌上搜索发现preFS>工作空间>刷新自动被广泛报道,malfunctional,并且具有相同的症状我。源文件是源控制,等于是对他们锁属性,很好奇,如果这个可能会发挥作用这一点。

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.

第二部分是关于我的build目录;日食知道proj_root /目标是构建目录,但我想排除该文件夹中的资源正在同步。

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).

推荐答案

我曾与m2eclipse的同样的问题。
标记目标文件夹导出资源为我(右键 - >属性 - >资源 - >派生)的工作。

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

这篇关于Eclipse会自动刷新资源和排除build目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆