[ https://issues.apache.org/jira/browse/XMLBEANS-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988969#comment-16988969 ]
Elvis Stansvik commented on XMLBEANS-503: ----------------------------------------- NP, thanks for the quick response. > [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.1.0 > > 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 (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org