You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Elvis Stansvik (JIRA)" <xm...@xml.apache.org> on 2013/07/22 03:56:48 UTC
[jira] [Created] (XMLBEANS-503) Add support for passing -nowarn to
the Ant task
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org