DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4283>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4283

javadoc task leaves out author and version with custom doclet

           Summary: javadoc task leaves out author and version with custom
                    doclet
           Product: Ant
           Version: 1.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I specify a custom doclet to the Javadoc task, the "author" and "version" 
tags get left out of the generated command line. First I called ant -verbose to 
verify that the options were not being generated in the Javadoc command-line 
when I enabled the use of my doclet. Since it wasn't generating the 
command-line correctly, I looked at the source code and found in 
Javadoc.execute() that the lines for generating those options only execute "if 
(author && doclet == null)" and "if (version && doclet == null)", respectively. 
Why is this done this way? Unless there is some other rationale for this that 
I'm missing, it seems to me to be a bug.

Reply via email to