ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PREMKUMAR, N [AG/8042]" <>
Subject RE: JavaDoc question
Date Sun, 24 Nov 2002 06:59:02 GMT
How about copying all the Frameworks/Module*/src/** source-code in a
temporary directory and using that for building java-doc  and deleting it
once javadoc task is complete?


-----Original Message-----
From: Dave Rathnow []
Sent: Wednesday, 20 November 2002 10:45 PM
To: 'Ant-User (E-mail)
Subject: JavaDoc question

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: <>

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

View raw message