Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3761

Nested tags in nested javac tag of a groovc tag in Ant file is ignored

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.5, 1.7-beta-2
    • 1.6.5, 1.7-beta-2
    • None
    • None
    • Ubuntu 9.04 Jaunty Jackalope, Groovy HEAD 2009-09-18

    Description

      Using the task:

      <groovyc srcdir="." destdir=".">
        <javac source="1.6" target="1.6" debug="on">
          <compilerarg value="-Xlint"/>
        </javac>
      </groovyc>
      

      works, but the -Xlint option is not passed to the javac call of the joint compilation. Using this where the Java containes an unchecked exception that is not suppressed leads to a message such as:

      [groovyc] Note: XXXXXX uses unchecked or unsafe operations.
      [groovyc] Note: Recompile with -Xlint:unchecked for details.

      just as is the case without the -Xlint option.

      Attachments

        Activity

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

          People

            roshandawrani Roshan Dawrani
            russel Dr. Russel Winder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment