Bug 21249 - Add "getXxx()" and "clearXxx()" methods to Javadoc task
Summary: Add "getXxx()" and "clearXxx()" methods to Javadoc task
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.5.1
Hardware: Other All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2003-07-01 22:43 UTC by Patrick Conant
Modified: 2009-07-30 08:11 UTC (History)
0 users



Attachments
Proposed patch with getXxx() methods. (5.69 KB, patch)
2003-08-01 21:08 UTC, Patrick Conant
Details | Diff
patch w/ corrected getPackagenames() and getExcludedPackagenames method signatures. (5.65 KB, patch)
2003-08-04 15:09 UTC, Patrick Conant
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Conant 2003-07-01 22:43:21 UTC
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...
Comment 1 Patrick Conant 2003-08-01 21:08:29 UTC
Created attachment 7619 [details]
Proposed patch with getXxx() methods.
Comment 2 Patrick Conant 2003-08-04 15:09:38 UTC
Created attachment 7644 [details]
patch w/ corrected getPackagenames() and getExcludedPackagenames method signatures.