获取 JavaDoc 解决 Java 6 问题
我在让 Ant 在 javaDoc 任务中相对引用 Java 6 API 时遇到问题。我不是先说“文件”,而是先获取整个包参考。很烦人!
这是我的代码。有人可以建议吗?
<javadoc sourcepath="${src.dir}"
destdir="${packaging.dir}/docs/javadoc"
packagenames="org.*"
link="http://download.oracle.com/javase/6/docs/api/"
doctitle="my API Documentation"
bottom="my API Documentation - Copyright 2010 to me. All Rights Reserved."
/>
我还想添加 log4j 和 hibernate 的链接信息。这是添加更多链接行的简单情况吗?
谢谢。本.
I'm having problems getting Ant to relatively refer to Java 6 API in my javaDoc task. Instead of having, say "File", I am getitng the whole package reference first. It is very annoying!
Here is my code. Could anyone advise?
<javadoc sourcepath="${src.dir}"
destdir="${packaging.dir}/docs/javadoc"
packagenames="org.*"
link="http://download.oracle.com/javase/6/docs/api/"
doctitle="my API Documentation"
bottom="my API Documentation - Copyright 2010 to me. All Rights Reserved."
/>
I would also like to add link information for log4j and also hibernate. Is it a simple case of adding more link rows?
Thanks. Ben.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要处理多个外部链接,请使用 Ant < 的嵌套
link
元素代码>javadoc任务。像这样的东西:To process multiple external links, use nested
link
elements of the Antjavadoc
task. Something like: