ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: How do I get package listing in javadoc task?
Date Fri, 07 Jun 2002 20:10:51 GMT
I'm not sure at all, but it may be that you have only one package, so it
doesn't create that frame?

In any case, here's an example of a <javadoc> task, with another target that
checks if it's necessary to run. Just remove the 'depends' and 'unless'
attributes of <target name="javadocs"> if you don't care about running
<javadoc> everytime you call it. --DD

PS: This task create the package-list frame, but all the projects its used
in have at least two packages.

  <target name="javadocs"
    <javadoc sourcepath="src"
      <link href="" />

  <target name="javadocs.uptodate?">
    <mkdir dir="${javadocs}" />
    <uptodate property="javadocs.uptodate"
      <srcfiles dir="src" includes="**/*.java,
                                    **/doc-files/**" />

    <!-- All this to print "true" or "false" for the property value -->
    <condition property="javadocs-uptodate-value" value="false">
      <equals arg1="${javadocs.uptodate}" arg2="$${javadocs.uptodate}" />
    <property name="javadocs-uptodate-value" value="true" />
    <echo message="javadocs-uptodate = ${javadocs-uptodate-value}" />

-----Original Message-----
From: Chris Bailey [] 
Sent: Friday, June 07, 2002 2:29 PM
To: AntMailingList
Subject: How do I get package listing in javadoc task?

I have little experience with generating JavaDoc, and less with the
<javadoc> task...  My JavaDoc for my code generates, but the only thing is
that the normal upper left frame containing the list of packages is not
there.  How do I tell the <javadoc> task to generate this?

Chris Bailey
Code Intensity

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

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

View raw message