> 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>