Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Javadoc

Javadoc

2005-12-13       - By Kajsa.Anderson@(protected)
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Try this format for your packagenames attribute:
packagenames="heavyweight.gui,heavyweight.io,heavyweight.re,heavyweight.
util"

HTH,
Kajsa Anderson

> -----Original Message-----
> From: Thom Hehl [mailto:thom@(protected)]
> Sent: Tuesday, December 13, 2005 1:46 PM
> To: user@(protected)
> Subject: javadoc
>
> I've actually used ant for quite sometime, but I've never
> messed with it enough at the same time to get truly proficient.
>
> At any rate, I've been using ant to build a library for me
> for sometime and now I need to get the javadoc working. Here
> is my directory structure.
>
> heavyweight+
>                    +gui
>                    +io
>                    +re
>                    +util
>
> The heavyweight directory contains only the build.xml. All
> source files are located in the subs. Here is my javadoc:
>
>   <target name="apidocs" depends="test"
>         description="document" >
>   <javadoc packagenames="heavyweight.gui.* heavyweight.io.*
> heavyweight.re.* heavyweight.util.*"
>            sourcepath="${src}"
>            defaultexcludes="yes"
>            destdir="docs/api"
>            author="true"
>            version="true"
>            use="true"
>            windowtitle="Heavyweight API">
>     <doctitle><![CDATA[<h1>Heavyweight</h1>]]></doctitle>
>     <bottom><![CDATA[<i>Copyright &#169; 2005 Heavyweight
> Software. All Rights Reserved.</i>]]></bottom>
>     <tag name="todo" scope="all" description="To do:"/>
>     <group title="Heavyweight User Interface"
> packages="heavyweight.gui.*"/>
>     <group title="Heavyweight Input/Output"
> packages="heavyweight.io.*"/>
>     <group title="Heavyweight Real Estate"
> packages="heavyweight.re.*"/>
>     <group title="Heavyweight Utilities"
> packages="heavyweight.util.*"/>
>     <link offline="true"
> href="http://java.sun.com/products/jdk/1.5/docs/api/"
> packagelistLoc="/tmp"/>
>     <link
> href="http://developer.java.sun.com/developer/products/xml/doc
> s/api/"/>
>     </javadoc>
>   </target>
>
> I though this was OK, but when I build it, I get:
>
> doc:
>
> BUILD FAILED
> C:\src\heavyweight\build.xml:120: No source files and no
> packages have been specified.
>
> Line 120 is the end of the javadoc tag. Can someone steer me
> in the right direction here?
>
> Thanks.
>
> Thom Hehl
> Heavyweight Software for Heavyweight Needs www.heavyweightsoftware.com
> --
> "In every revolution, there is one man with a vision."--Jerome Bixby
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.