如何忽略/ $从验证p $ pvent的javadoc文件夹中的Eclipse构建? [英] How to ignore/prevent javadoc folder from validation during Eclipse Build?

查看:300
本文介绍了如何忽略/ $从验证p $ pvent的javadoc文件夹中的Eclipse构建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的战争是一个巨大的javadoc文件夹中。还有以来的javadoc是由Sun(甲骨文)的javadoc实用程序生成的验证它没有任何意义。我已经忘记了我是如何做的最后一次。我需要告诉Eclipse构建不验证特定的文件夹中。

In my war is a huge javadoc folder. There is no point in validating it since javadocs are produced by Sun(Oracle) javadoc utility. I have forgotten how I did it the last time. I need to tell Eclipse build not to validate that particular folder.

原因,我需要它:结果
1.由Sun的javadoc生成工具生成的HTML没有满足Eclipse使用的要求 - 有是Eclipse的一个bug报告,但Eclipse的回应,Sun公司的javadoc发电机违规不是他们的错,而且Eclipse的打算坚持自己严格遵守。这会导致很多的问题选项卡中列出的HTML错误。结果
2. javadoc的文件夹是链路上的远程链接,活性高,使用了我的CPU资源,因为它是一个链接到一个远程位置,即CPU高活性持续很长一段时间,直到它完成扫描整个35MB的javadoc

Reasons why I need it:
1. the html produced by Sun javadoc generation utility does not meet the requirement that Eclipse uses - there is a bug report in Eclipse but Eclipse responds that Sun javadoc generator non-compliance is not their fault and that Eclipse intends to stick to their strict compliance. Which results in lots of html errors listed in the problems tab.
2. the javadoc folder is a remote link and high activity on that link is using up my cpu resource, and because it is a link to a remote location, that cpu high activity is sustained for long time until it finishes scanning the whole 35MB javadocs.

感谢 - 需要帮助

推荐答案

你能检查<一的设置href=\"http://www.eclipse.org/webtools/wst/components/validation/scenarios/validation_framework_testplan.html\"相对=nofollow>您的验证

它可能有一个设置,允许你定义一个排除集团您可以在其中添加规则,指定要排除的验证:

it may have a setting allowing you to define an Exclude Group where you can add a rule to specify to exclude the validator for:


  • 针对扩展,

  • 文件夹或文件名,

  • 项目性质,

  • 面或内容类型。

由于OP在评论中提到,标志着一个文件夹作为衍生意味着它会:

As the OP mentions in the comment, marking a folder as "derived" means it it will:


  • 不是增量构建过程中建立

  • 只能是全部或手工打造过程中建立

由于文章提到

派生资源是不原始数据资源,并且可以从它们的源文件中重新创建。是很常见的,从某些类型的处理被排除派生的文件。

Derived resources are resources that are not original data, and can be recreated from their source files. It is common for derived files to be excluded from certain kinds of processing.

派生资源可以影响 Eclipse的资源过滤还有:

Derived resources can influence Eclipse Resource Filtering as well:

关键是要打开导航器视图中,在文件夹上右击被忽略,并检查派生属性。结果
  此选项通知Eclipse的这个文件夹包含不应该直接编辑生成的资源。结果
  一旦这样做了,则打开资源...视图将只显示这将是相关的显影剂匹配。

The trick is to open the "Navigator" view, right click on the folder to be ignored, and check the "Derived" property.
This option informs Eclipse that this folder consists of generated resources that should not be directly edited.
Once this is done, the "Open Resource..." view will only show matches that would be relevant to the developer.

这篇关于如何忽略/ $从验证p $ pvent的javadoc文件夹中的Eclipse构建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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