有没有办法隐藏Maven 2“target /” Eclipse 3中的文件夹? [英] Is there a way to hide Maven 2 "target/" folder in Eclipse 3?

查看:122
本文介绍了有没有办法隐藏Maven 2“target /” Eclipse 3中的文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是maven 2.0.9与Eclipse 3.3.2。

I'm using maven 2.0.9 with Eclipse 3.3.2.

我习惯于每天启动一个新的一次,一个$ code> mvn clean install 。
然后,如果我刷新我的Eclipse项目,它将被Maven的目标目录中的文件污染。

I'm used to launching a fresh build once per day by a mvn clean install. Then, if I refresh my Eclipse project, it will be "polluted" by files from Maven's target directory.

在执行搜索时烦人,通过开放资源获取资源等等。

That's very annoying while performing searches, getting resources by "open resource" and so on.

有没有办法避免Eclipse查找此文件夹?

Is there a way to avoid Eclipse looking in this folder?

推荐答案

右键单击要忽略的文件夹,打开属性对话框,选择资源选项卡,选中派生

Right click on the folder you want to ignore, open the "Properties" dialog, chose the "Resource" tab and check the box that says "Derived"

这篇关于有没有办法隐藏Maven 2“target /” Eclipse 3中的文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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