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

groovyc in 1.6.0 no longer supports 'deprecation' attribute on nested javac

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6
    • 1.6.4, 1.7-beta-1
    • Ant integration
    • None
    • Groovy 1.6.0, Ant 1.7.1, Java 1.5.0_16, Windows XP.

    Description

      With Groovy 1.5.1 I used the 'deprecation' attribute on <javac> nested within the <groovyc> Ant task to have the compiler spit out deprecated API warnings:

      <groovyc ...>
      ...
      <javac deprecation="${javac.deprecation}" .../>
      </groovyc>

      I'm trying to upgrade to Groovy 1.6.0 but it complains that 'deprecation' is no longer a supported attribute on <javac> (within <groovyc> that is - it still works fine from a regular <javac> call). If I invoke groovyc from AntBuilder (within a <groovy> element in my Ant script), the error goes away but the attribute has no effect. I can't find any way to get my deprecation warnings back.

      Attachments

        Activity

          People

            paulk Paul King
            alrodgers Alastair Rodgers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: