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

javadoc ignores the source tag for custom doclets

           Summary: javadoc ignores the source tag for custom doclets
           Product: Ant
           Version: 1.5.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Firstly, I couldn't decide if this was an enhancement request or a minor 
problem, so feel free to reassign the severity...

PROBLEM:
The javadoc task documentation states that it will ignore the source tag for 
custom doclets, which it does. However, custom doclets may very well need the 
source tag. For example, I am integrating JunitDoclet 1.0 into my build.xml 
file. My source files contain asserts, and therefore require javadoc to run 
with -source 1.4.

Incidentally, the documentation for the javadoc attribute source refers to the 
javac task...

WORKAROUND:
Since the task ignores the source attribute for custom doclets, I have to use 
an additionalArgs attribute instead.

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

Reply via email to