ant - Problem getting JavaDoc to resolve Java 6 -
i'm having problems getting ant relatively refer java 6 api in javadoc task. instead of having, "file", getitng whole package reference first. annoying!
here code. 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 me. rights reserved." />
i add link information log4j , hibernate. simple case of adding more link rows?
thanks. ben.
to process multiple external links, use nested link
elements of ant javadoc
task. like:
<javadoc sourcepath="${src.dir}" destdir="${packaging.dir}/docs/javadoc" packagenames="org.*" doctitle="my api docs" bottom="my api docs - copyright 2010 me. rights reserved."> <link href="http://download.oracle.com/javase/6/docs/api/" /> <link href="http://logging.apache.org/log4j/1.2/apidocs/" /> <link href="http://docs.jboss.org/hibernate/core/3.5/api/"/> </javadoc>
Comments
Post a Comment