You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Dominik Stadler (JIRA)" <ji...@apache.org> on 2019/03/03 14:50:00 UTC

[jira] [Closed] (XMLBEANS-503) [patch] Add support for passing -nowarn to the Ant task

     [ https://issues.apache.org/jira/browse/XMLBEANS-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominik Stadler closed XMLBEANS-503.
------------------------------------
       Resolution: Fixed
         Assignee: Dominik Stadler
    Fix Version/s: Version 3.0.3

This is applied now, thanks for the patch.

> [patch] 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
>            Assignee: Dominik Stadler
>            Priority: Minor
>             Fix For: Version 3.0.3
>
>         Attachments: xmlbeans-ant-support-nowarn.diff
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org