ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: Cannot include packages in the Javadoc
Date Thu, 28 Aug 2003 18:10:40 GMT

You might be missing a packageset nested element.

Have a look at the examples there :

http://ant.apache.org/manual/CoreTasks/javadoc.html

Other point :

do your package names begin by sams ?
if your package names begin by com.sams.xyz, then you need to have a
directory tree containing com/sams/xyz
and have the dir of your fileset = parent directory of com



Antoine
----- Original Message -----
From: "Jamal Najmi" <jnajmi@k12.com>
To: <user@ant.apache.org>
Sent: Thursday, August 28, 2003 7:45 PM
Subject: Cannot include packages in the Javadoc


> Hi al,
>
> What should I do to have classes appear under packages.  The Ant script I
> wrote cerates Javadoc that list classes in alphabetical order as well as
in
> hierarchical order but it does not list classes under their respective
> packages.
>
> Please let me know what I need to add to my Ant script listed below.
>
> Thanks
>
> Jamal
>
> <target name="make_javadoc" depends="init">
>  <javadoc destdir="${sams.builddir}/javadoc"
>           author="true"
>           version="true"
>           use="true">
>   <fileset dir="${sams.builddir}/${sams.gensrcdir}" defaultexcludes="yes">
>   <include name="sams/**" />
>           </fileset>
>
>  </javadoc>
> </target>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message