Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Creating applications in a commercial environment frequently means creating documentation, and Ant is up for that with the javadoc task. This task creates documentation using the Java javadoc tool, a process that involves compilation, which merits including this task in this chapter. This is one of the largest tasks in Ant because of the enormous number of javadoc options.
Here's an example, stored in the javadoc folder in the code for this book. Suppose you add a documentation-type comment to the Project.java file: