ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torben Møller Christensen" <lec...@lec.dk>
Subject Re: JavaDoc target error?
Date Fri, 25 Jan 2002 14:51:03 GMT

> 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.

The Ant javadoc task accepts the properties "author" and "version", and - as I
see it - passes these on to the standard doclet, if no custom doclet is specified.
However these are not passed on to a custom doclet.

/Torben.




                                                                                         
                                
                    Conor MacNeill                                                       
                                
                    <conor@cortexebusine        To:     Ant Users List <ant-user@jakarta.apache.org>
                     
                    ss.com.au>                  cc:                                   
                                   
                                                Subject:     Re: JavaDoc target error?   
                                
                    25-01-02 15:40                                                       
                                
                    Please respond to                                                    
                                
                    "Ant Users List"                                                     
                                
                                                                                         
                                
                                                                                         
                                



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>






--
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