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

Add "getXxx()" and "clearXxx()" methods to Javadoc task

           Summary: Add "getXxx()" and "clearXxx()" methods to Javadoc task
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I'm developing several Ant listeners to do various checks on the outputs of our
build process.  One of these tests is to run the DocCheck (javadoc validation)
doclet on each <javadoc> task that gets run as a part of our build.  This allows
us to make sure that the javadoc documentation is accurate.  Unfortunately,
there are no getter methods on the javadoc task, so I can't determine what
values werre set in the javadoc task.  As a result, the only way I can run the
DocCheck doclet is to set the doclet, the doclet path, and the output directory
on the existing javadoc task, the execute() the task again.  This works in some
cases, but the DocCheck doclet fails when there are "-list ..." options passed
to the javadoc command.  And there's no way to clear these from the javadoc
task, so the only thing I can do is catch the BuildException and log it -- I
can't even tell what source files were passed into the javadoc command because
all of the interesting properties of the Javadoc object are very private...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to