OK, here's my current target from build.xml:

 <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/docs/api/"/>
   </javadoc>
 <!--
   -->
 </target>

When I ran this with -debug, here's all I got:

apidocs:
 [javadoc] scanning C:\src\heavyweight for packages.
DirSet: Setup scanner in dir C:\src\heavyweight with patternSet{ includes: [heavyweight/gui/**, heavyweight/io/**, heavyweight/re/**, heavyweight/util/**] excludes: [] }
 [javadoc] C:\src\heavyweight doesn't contain any packages, dropping it.

I don't feel any closer to a solution. Help?

Thanks.

Stefan Bodewig wrote:

On Tue, 13 Dec 2005, Thom Hehl <[EMAIL PROTECTED]> wrote:

packagenames="heavyweight.gui.* heavyweight.io.* heavyweight.re.*
heavyweight.util.*"

the separator for packagenames is "," not " ".

          sourcepath="${src}"

might be the most important information.

BUILD FAILED C:\src\heavyweight\build.xml:120: No source files and
no packages have been specified.

run ant -debug and see which directories get scanned for Java files
and which directories are included.

Each entry in sourcepath will be the root directory of a <dirset>.
From there, only the directories whose names match one of your named
packages, in your case that means matches on of the patterns
heavyweight/gui/**, heavyweight/io/**, heavyweight/re/** or
heavyweight/util/**.  Only directories that contain .java files or a
package.html are accepted.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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]

Reply via email to