Elvis Stansvik created XMLBEANS-503:
---------------------------------------
Summary: Add support for passing -nowarn to the Ant task
Key: XMLBEANS-503
URL: https://issues.apache.org/jira/browse/XMLBEANS-503
Project: XMLBeans
Issue Type: New Feature
Components: Compiler, Website
Affects Versions: unspecified
Reporter: Elvis Stansvik
Priority: Minor
The attached patch adds support for a new "nowarn" attribute to the Ant task,
for controlling whether -nowarn should be passed to the JDK compiler (analog to
the attribute of the javac task with the same name).
As a user, you're often not interested in warnings in generated code. In my
case I wanted to suppress
[ant:xmlbean] warning: [options] bootstrap class path not set in conjunction
with -source 1.4
but I think the option to pass -nowarn is generally useful.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]