[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] [Created] (XMLBEANS-503) Add support for passing -nowarn to the Ant task
From:       "Elvis Stansvik (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2013-07-22 1:56:48
Message-ID: JIRA.12658996.1374458182397.88326.1374458208572 () arcas
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic