groovy
  1. groovy
  2. GROOVY-3449

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

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.4, 1.7-beta-1
    • Component/s: Ant integration
    • Labels:
      None
    • Environment:
      Groovy 1.6.0, Ant 1.7.1, Java 1.5.0_16, Windows XP.
    • Number of attachments :
      0

      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.

        Activity

          People

          • Assignee:
            Paul King
            Reporter:
            Alastair Rodgers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: