ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@m64.com>
Subject RE: javadoc and multiple packages
Date Wed, 19 Jul 2000 11:26:37 GMT
Tom,

The package names need to be separated with a comma

packagenames="com.*, de.*"

Let me know if that doesn't help.

Conor


> -----Original Message-----
> From: Tom Klaasen [mailto:Tom.Klaasen@the-ecorp.com]
> Sent: Wednesday, 19 July 2000 20:08
> To: 'ant-dev@jakarta.apache.org'
> Subject: javadoc and multiple packages
> 
> 
> Hi,
> 
> I try to javadoc several packages at once. So I define the 
> following target:
> 
>   <target name="doc" depends="init">
>   	 <javadoc sourcepath="${src}" destdir="${doc}" packagenames="com.*
> de.*" link="http://java.sun.com/j2se/1.3/docs/api/"/>
>   </target>
> 
> However, then I get this output:
> 
> E:\java>ant doc
> Buildfile: build.xml
> 
> init:
> 
> doc:
>   [javadoc] Generating Javadoc
>   [javadoc] Parsing source files for packages
>   [javadoc] Javadoc execution
>   [javadoc] javadoc: No packages or classes specified.
> {javadoc options listed here}
> 
> 
> When I use only one packagename ("com.*"), the target works fine.
> 
> Am I missing something here?
> 
> Thanks for any help.
> 
> tomK
> 

Mime
View raw message