将Java EE 6 API的Javadoc集成到Eclipse中 [英] Integrating Javadoc for Java EE 6 API into Eclipse
问题描述
是否可以获得EE Api的所有Javadoc在Eclipse中工作?
虽然上述解决方案可以正常工作,但我本人正在寻找一个更平滑的解决方案。 b
$ b
到目前为止,我已经收集了在构建路径下的每个jboss jar,我可以引用以下url(或者Tiberiu说,您下载文档的位置):
http://docs.oracle.com/ javaee / 6 / api /
这工作正常。但是在给定的java ee项目中引用了大约10-15个库。将以上网址添加到每个库中,对于每个新的Java ee项目对我来说似乎是可笑的。
我应该认为有一种方式来指定其中整个jboss 7运行时的javadoc位于,而不仅仅是针对各个库。目前我还在搜索,但如果有人知道如何做,请启发我。
只是发生在我身上,我为一个项目指定的位置javadoc,可能保留一个新的EE项目。我会检查并回复我的发现。
更新:果然,对于一个项目指定的javadoc仍然存在新的ee项目的。所以我们很好:)
I'm using the new JBoss 7.1 which implements the full Java EE 6 standard and Eclipse Indigo.
Is it possible to get all the Javadoc for the EE Api working in Eclipse?
While the above solution does work, I am personally looking for a smoother solution.
So far I've gathered that for each jboss jar under the build path, I can reference the following url (or as Tiberiu stated, the location where you downloaded the docs):
http://docs.oracle.com/javaee/6/api/
This works fine. But there are approximately 10-15 libraries referenced in a given java ee project. Adding the above url to each library, for every new java ee project seems ridiculous to me.
I should think there is a way to specify where "the javadoc for the entire jboss 7 runtime" is located, not just for the individual libraries. Currently I'm still searching, but if anyone knows how to do this please enlighten me.
It just occured to me, the location i specify for one projects javadoc, might be retained for a new EE project. I'll check and get back with my findings.
UPDATE: Sure enough, it would seem the javadoc specified for one project persists for new ee projects too. So we're good :)
这篇关于将Java EE 6 API的Javadoc集成到Eclipse中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!