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:[EMAIL PROTECTED] > Sent: Tuesday, December 13, 2005 1:46 PM > To: user@ant.apache.org > 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 © 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]