ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13747] New: - javadoc ignores the source tag for custom doclets
Date Thu, 17 Oct 2002 17:30:29 GMT
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: ant-dev@jakarta.apache.org
        ReportedBy: jltharp@att.com


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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message