ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: JavaDoc target error?
Date Fri, 25 Jan 2002 14:40:33 GMT
Torben Møller Christensen wrote:

> Hi.
> 
> I think I have found an error in the JavaDoc target. The javadoc target supports the
properties
> "version" and "author". This works fine - untill you add a custom doclet class to the
javadoc
> target. Now "version" and "author" will be false no matter what your settings are.
> 
> However I got it working by adding parameters directly to the doclet tag of the target,
like e.g.:
> 
>       <doclet name="MyDoclet"
>               path="${ws.build.classes}">
>         <param name="-author"/>
>         <param name="-version"/>
>       </doclet>
> 
> Anyone heard of this problem? Or is it some mistake on my part?
> 


author and version are options of the standard doclet and are not 
options of Javadoc itself. If the custom doclet supports them you need 
to add them explicitly yourself as you have done.

Conor



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message