问题描述
在我的战争中是一个巨大的javadoc文件夹。由于javadocs是由Sun(Oracle)javadoc实用程序生成的,所以无法验证它。我已经忘记了我最后一次怎么做。我需要告诉Eclipse构建不要验证该特定的文件夹。为什么我需要它:
1.由Sun javadoc生成的html实用程序不符合Eclipse使用的要求 - Eclipse中有一个错误报告,但是Eclipse回应说,Sun javadoc生成器不合规不是他们的错误,并且Eclipse打算坚持严格遵守。这导致在问题选项卡中列出了许多html错误。
2. javadoc文件夹是一个远程链接,该链接上的高活动正在使用我的cpu资源,并且因为它是一个链接到远程位置,cpu高活动持续很长时间,直到完成扫描整个35MB的Javadoc。
谢谢 - 需要帮助。
派生的资源可以影响以及
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.
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.
Thanks - need help.
Could you check the settings of your validator
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:
- specific extensions,
- folder or file name,
- project nature,
- facet or content type.
As the OP mentions in the comment, marking a folder as "derived" means it it will:
- not be build during incremental build
- only be build during full or manual build
As the article mentions:
Derived resources can influence Eclipse Resource Filtering as well:
这篇关于如何在Eclipse Build期间忽略/防止javadoc文件夹的验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!