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"
depends="javadocs.uptodate?"
unless="javadocs.uptodate">
<javadoc sourcepath="src"
destdir="${javadocs}"
packagenames="com.lgc.*"
classpathref="classpath-default">
<link href="http://java.sun.com/j2se/1.4/docs/api/" />
</javadoc>
</target>
<target name="javadocs.uptodate?">
<mkdir dir="${javadocs}" />
<uptodate property="javadocs.uptodate"
targetfile="${javadocs}/index.html">
<srcfiles dir="src" includes="**/*.java,
**/package.html,
**/doc-files/**" />
</uptodate>
<!-- 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}" />
</condition>
<property name="javadocs-uptodate-value" value="true" />
<echo message="javadocs-uptodate = ${javadocs-uptodate-value}" />
</target>
-----Original Message-----
From: Chris Bailey [mailto:[EMAIL PROTECTED]]
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 mailto:[EMAIL PROTECTED]
Code Intensity http://www.codeintensity.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>