Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Making Javadoc work with Ant (or without it)

843810Nov 16 2002 — edited Jan 17 2003
I need to add Java doc to my Ant build file, with the following requirements:

- All java files under the "WEB-INF\src" directory must be documented. They belong to many different packages and reside in many different folders.

- The library JAR files should not be documented. There is just too many and it would take forever. These files reside under "WEB-INF/lib". (NOTE: A lot of the *.java files use these libraries, but I don't want their documentation).

- The output HTML should be placed under "WEB-INF\docs" directory.

If somebody knows how to do it with Ant, that would be great. But command-line javadoc will do also.

NOTE: I will be running both from the parent directory of WEB-INF.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2003
Added on Nov 16 2002
2 comments
420 views