https://bz.apache.org/bugzilla/show_bug.cgi?id=58429
Bug ID: 58429
Summary: compilerarg for javadoc task
Product: Ant
Version: unspecified
Hardware: PC
OS: Windows Server 2003
Status: NEW
Severity: enhancement
Priority: P2
Component: Core tasks
Assignee: [email protected]
Reporter: [email protected]
Created attachment 33117
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33117&action=edit
Screenshot of Ant task producing error message.
I would like to request compilerarg support (or some other appropriately named
element) for the javadoc task.
Java 7 b100 (JDK-6958836 : javadoc should support -Xmaxerrs and -Xmaxwarns, see
http://bugs.java.com/view_bug.do?bug_id=6958836) and Java 8 introduced support
for the -Xmaxerrs and -Xmaxwarns options, but these are not accessible via the
javadoc task.
The screenshot in the attachment is Ant 1.9.4 from Eclipse Mars with Java
1.8.0_60, but I also examined org.apache.tools.ant.taskdefs.Javadoc.java from
trunk/ and found no evidence of support for this feature.
The error:
javadoc doesn't support the nested "compilerarg" element.
is obviously talking about "javadoc, the Ant task", because "javadoc, the Java
utility" reports:
C:\>javadoc -X
-Xmaxerrs <number> Set the maximum number of errors to print
-Xmaxwarns <number> Set the maximum number of warnings to print
Provided by standard doclet:
-Xdocrootparent <url> Replaces all appearances of @docRoot
followed
by /.. in doc comments with <url>
-Xdoclint Enable recommended checks for problems in
jav
adoc comments
-Xdoclint:(all|none|[-]<group>)
Enable or disable specific checks for problems in javadoc comments,
where <group> is one of accessibility, html, missing, reference, or
synt
ax.
These options are non-standard and subject to change without notice.
--
You are receiving this mail because:
You are the assignee for the bug.