ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Robbs <>
Subject Javadoc Task and Filesets...
Date Thu, 18 Apr 2002 19:50:30 GMT


I'm new to this list, so please forgive me if this question has been answered already.  I
did search through the mailling list archives and couldn't find the answer to my question.

I am working to configure the Javadoc task to run twice.  My goal is to generate a set of
browsable javadocs for both external and internal use.  For an internal set of Javadocs, I
simply generate javadocs for everthing.  No problem.

For the external set, I want to generate javadocs for only a subset of the classes in my source
tree.  Can someone guide me as to how I would configure the javadoc task to only work with
a subset of files?  Here is what I am trying to do as of right now and it's not working (i.e.
it's returning javadoc's usage message when I run it):

        <!-- Generate public JavaDocs.
             Public JavaDocs includes a subset of the all docs. -->
        <path id="javadocs.public.src">
            <fileset dir="src/">
                <!-- package inclusions -->
                <include name="src/org/foo/ourproduct/util/**/*.java" />

                <!-- package inclusions -->
                <include name="src/org/foo/logger/*.java" />
        <property name="public.javadocs" refid="javadocs.public.src"/>

        <javadoc packagenames="*"
                 windowtitle="My API"
                 bottom="Copyright &#169; 2002 All Rights Reserved.">

Please, be gentle.  I'm just ramping up on Ant and, unfortunately, it's under a time crunch.

Thanks in advance for any and all assistance.


Thomas Robbs

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

View raw message