Hello,

Is there a way to get a list of all the packages in .java files 'automagically' from 
within Ant?
It looks like <javadoc> task needs a comma-separated lsit of packages and I'd hate to 
have to hack something that parses packages out of .java files if this is something 
that can already be accomplished by using a built-in Ant feature.

How do people normally create javadocs from within Ant?
How do they get that comma-separated list?

    <target name="javadocs" depends="compile">
        <javadoc
         sourcepath="${build.src}"
         packagenames="${packages}"
         destdir="${build.javadocs}"
         ...
            <classpath refid="classpath"/>
        </javadoc>
    </target>


Thanks!
Otis

_________________________________________________________________
iVillage.com: Solutions for Your Life 
Check out the most exciting women's community on the Web   
http://www.ivillage.com

Reply via email to