next up previous contents index
Next: Parameters Up: Javadoc/Javadoc2 Previous: Format of the group   Contents   Index

Parameters specified as nested elements

packageset

A DirSet. All matched directories that contain Java source files will be passed to javadoc as package names. Package names are created from the directory names by translating the directory separator into dots. Ant assumes the base directory of the packageset points to the root of a package hierarchy.

The packagenames, excludepackagenames and defaultexcludes attributes of the task have no effect on the nested <packageset> elements.

fileset

A FileSet. All matched files will be passed to javadoc as source files. Ant will automatically add the include pattern **/*.java to these filesets.

Nested filesets can be used to document sources that are in the default package or if you want to exclude certain files from documentation. If you want to document all source files and don't use the default package, packagesets should be used instead as this increases javadocs performance.

The packagenames, excludepackagenames and defaultexcludes attributes of the task have no effect on the nested <fileset> elements.

package

Same as one entry in the list given by packagenames.


next up previous contents index
Next: Parameters Up: Javadoc/Javadoc2 Previous: Format of the group   Contents   Index
Andrew Marlow 2003-07-08