Home

 

Generating Javadoc from an Ant script

In Generating Javadoc from an existing project, we selected Save Settings for this Javadoc export as an Ant script. This generated the javadoc.xml ant script, which can be used to invoke the Javadoc command.

To generate Javadoc from an Ant script, do these steps:

Right-click javadoc.xml in the Package Explorer and select Run As Æ Ant Build.

The Javadoc generation process starts. If you cannot see the new generated doc folder in the project, select the project and press F5 to refresh the view.
ibm.com/redbooks