Generating Javadoc with Ant
You can also generate your Javadoc using the Ant utility. Ant is available as a free download from http://ant.apache.org. The current version, as of this publication, is 1.6.1. Ant is used like the make tool to automate the software build process. It offers an XML syntax featuring tags that, among other things, wrap common Java tools, including the javadoc command.
While in this section it is not appropriate to go into the Ant tool in detail, my assumption here is that this will serve as a useful—if quick—reference later when you want to generate Javadoc using Ant.
If you are using Eclipse (3.0 is the current version), you already have Ant installed with it. All you need to do is create a file (conventionally called ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access