Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 21175 invoked from network); 11 Aug 2000 13:41:42 -0000 Received: from cthulhu.ecom.be (HELO cthulhu.gent.ecom.be) (194.7.39.101) by locus.apache.org with SMTP; 11 Aug 2000 13:41:42 -0000 Received: from byron.gent.ecom.be ([172.16.20.7]) by cthulhu.gent.ecom.be (Netscape Messaging Server 3.6) with ESMTP id AAA1E7D for ; Fri, 11 Aug 2000 15:55:15 +0200 Received: by BYRON with Internet Mail Service (5.5.2650.21) id ; Fri, 11 Aug 2000 15:34:46 +0200 Message-ID: <78E0D720D8C4D311A67700508B09061D6611A4@BYRON> From: "Tom Klaasen" To: "'ant-user@jakarta.apache.org'" Subject: RE: Newbie Ant/Javadoc question Date: Fri, 11 Aug 2000 15:34:45 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I've walked into the same problem. Use a comma-separated list instead of a space-separated list property name="packages" value="com.cmsgt.javelin.client, com.cmsgt.javelin.server, com.cmsgt.javelin.data, com.cmsgt.javelin.gui, com.cmsgt.javelin.gui.event"/> HTH tomK > -----Original Message----- > From: Andrew Akins [mailto:andya@cms-gt.com] > Sent: vrijdag 11 augustus 2000 15:08 > To: ant-user@jakarta.apache.org > Subject: Newbie Ant/Javadoc question > > > Hi there. I'm new to both the mailing list and to Ant, so I > apologize if this > question has been answered somewhere. I've checked the docs, > but I'm still > having problems. > > I am using the most recent release build of ant. My source > code is under the > src directory. My build.xml file has the following: > > > > > > value="/opt/j2sdkee1.2.1/lib/j2ee.jar: > /opt/xerces-1_3_1/xerces.jar" > /> > value="com.cmsgt.javelin.client > com.cmsgt.javelin.server > com.cmsgt.javelin.data > com.cmsgt.javelin.gui > com.cmsgt.javelin.gui.event"/> > > > --- snip --- > > > packagenames="${packages}" > sourcepath="${src}" > destdir="${doc}" > classpath="${cpath}" > /> > > > > When I run "ant docs", I get: > > init: > > docs: > [javadoc] Generating Javadoc > [javadoc] Javadoc execution > [javadoc] javadoc: No package, class, or source file found named > com.cmsgt.javelin.client com.cmsgt.javelin.server > com.cmsgt.javelin.data > com.cmsgt.javelin.gui com.cmsgt.javelin.gui.event. [javadoc] 1 error > [javadoc] Result: 1 > > BUILD SUCCESSFUL > > Total time: 1 seconds > > When I run javadoc by hand, using the same paths and the same > package names in > a file: > > javadoc -sourcepath src -classpath /opt/j2sdkee1.2.1/lib/j2ee.jar: > /opt/xerces-1_1_3/xerces.jar @packages > > It works fine. > > Can anyone see what I'm doing wrong in my build.xml file? > > Thanks, > > Andy Akins > > +-------------------------------------+----------------------- > ---------------+ > | Andy Akins, Programmer/Analyst | andya@cms-gt.com > | > | Computer Management Services, Inc | http://www.cms-gt.com/ | +-------------------------------------+------------------------------------- -+ -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d- s+:++ a C++$ UL+$ P L++ E- W++ N+ o? K- w++$ PS+ PE Y PGP- t 5++ X R+++ tv+ b+++ DI(+) D- G e++ h---- r+++ y++++ ------END GEEK CODE BLOCK------