> HI all, I have problem of using ant to generate javadoc, as I
> don't very
> familiar with java doc.
>
> I use the following target block to generate javadoc:
> <target name="javadoc" depends="init">
> <javadoc packagenames="editor.*"
> sourcepath="${src.dir}"
> destdir="${doc.dir}"
> author="true"
> version="true"
> use="true"
> windowtitle="uml_editor API"
> bottom="Copyright 2001 XXXXXXXX All Rights Reserved.">
> <link
> href="http://developer.java.sun.com/developer/products/xml/doc
> s/api/"/>
> </javadoc>
> </target>
>
> Which just copy from
> http://jakarta.apache.org/ant/manual/CoreTasks/javadoc.html
> example, but it can't show javadoc of standard java api, like
> api doc of class String, Component and Applet. If I have
> exist Javadoc of these class, can I links my api document
> with the document of these class?
I believe what you're after is the "link" attribute of the javadoc task.
Jon