ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Rathnow <>
Subject JavaDoc question
Date Wed, 20 Nov 2002 17:14:36 GMT

With all my source code spread across a number different modules, each with
an 'src' directory, how can I generate a complete javadoc tree for all my
sources?  I've been playing around with the javadoc task, but found that if
I try to generate javadoc for individual modules, the index file only
contains the classes for that module--obviously it's trashing the old one
and recreating it.  The only way I've found to generate all the javadoc is
to have a single build script at the top of the directory that uses multiple
package sets.  For example:

       <javadoc destdir="${javadoc.root}"
                 doctitle="API Specification."
                 bottom="Copyright Notice">

            <classpath refid="build.classpath"/>

            <packageset dir="./Frameworks/Moudule1/src" >
                 <include name="com/wmx/**" />

            <packageset dir="./Frameworks/Module2/src" >
                 <include name="com/wmx/**" />

            <packageset dir="./Frameworks/Module3/src" >
                 <include name="com/wmx/**" />

Is there an easier way to do this?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message