<javadoc> and <javadoc2>
First of all, note that the <Javadoc2> task is deprecated. The <javadoc> task enables you to run Javadoc on a set of source files. There are numerous attributes (see Table 4.46), but the attributes that are supported are dependent on which JDK you’re running Ant with. For a more verbose description of some of these attributes, see the Javadoc home page at http://java.sun.com/j2se/javadoc/.
Attributes | Description |
---|---|
Required | |
sourcepath [**] | Specifies the location of the source files. |
sourcepathref[**] | Specifies a reference to a PATH defined elsewhere that is to be used as the source path. |
destdir (unless a doclet is specified) | The destination directory for the Javadoc output. |
Get Ant Developer’s Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.