Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-503

[patch] Add support for passing -nowarn to the Ant task

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • unspecified
    • Version 3.1.0
    • Compiler, Website
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dominik.stadler@gmx.at Dominik Stadler
            estan Elvis Stansvik
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m

                Slack

                  Issue deployment