ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Akins <an...@cms-gt.com>
Subject RE: Newbie Ant/Javadoc question
Date Fri, 11 Aug 2000 13:41:41 GMT
On Fri, 11 Aug 2000, you wrote:
> 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
> 

Hmm, tried that, got a _different_ error message

init:
 
docs:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] javadoc: No package, class, or source file found named 
com.cmsgt.javelin.client.
  [javadoc] javadoc: No package, class, or source file found named 
com.cmsgt.javelin.server.
  [javadoc] javadoc: No package, class, or source file found named 
com.cmsgt.javelin.data.
  [javadoc] javadoc: No package, class, or source file found named 
com.cmsgt.javelin.gui.
  [javadoc] javadoc: No package, class, or source file found named 
com.cmsgt.javelin.gui.event.
  [javadoc] 5 errors
  [javadoc] Result: 1
 
BUILD SUCCESSFUL
 
Total time: 2 seconds   

My code is now:  

<project name="javelin" default="jar">
	<target name="init">
		<property name="source" value="src"/>
		<property name="dest" value="lib"/>
		<property name="doc" value="doc/api"/>
		<property name="cpath"
			value="/opt/j2sdkee1.2.1/lib/j2ee.jar:/opt/xerces-1_3_1/xerces.jar"
		/>
		<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"/>
		<property name="libdir" value="../lib"/>
	</target>
	
	<target name="docs" depends="init">
		<mkdir dir="${doc}"/>
		<javadoc
			packagenames="${packages}"
			sourcepath="${src}"
			destdir="${doc}"
			classpath="${cpath}"
		/>
	</target>
</project>    
+-------------------------------------+--------------------------------------+
| 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------

Mime
View raw message