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

Deprecations warnings issues for Ant 1.7.0 -> 1.7.1 upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6-beta-2
    • 1.7.2, 1.8-beta-1
    • Ant integration
    • None

    Description

      Just a note that the 1.7.0 -> 1.7.1 upgrade introduces a deprecation warning in the Groovy build:

      stagedcompile:
      [mkdir] Created
      dir: /home/users/russel/Repositories/Bazaar/Subversion_Branches/Groovy/CLI-1.x/target/tools-classes
      [javac] Compiling 650 source files
      to /home/users/russel/Repositories/Bazaar/Subversion_Branches/Groovy/CLI-1.x/target/classes

      [javac] /home/users/russel/Repositories/Bazaar/Subversion_Branches/Groovy/CLI-1.x/src/main/org/codehaus/groovy/ant/Groovy.java:409: warning: [deprecation] project in org.apache.tools.ant.ProjectComponent has been deprecated
      [javac] script.setProperty("properties", new
      AntProjectPropertiesDelegate(project));
      [javac]
      ^

      [javac] /home/users/russel/Repositories/Bazaar/Subversion_Branches/Groovy/CLI-1.x/src/main/org/codehaus/groovy/ant/Groovy.java:503: warning: [deprecation] createTempFile(java.lang.String,java.lang.String,java.io.File,boolean) in org.apache.tools.ant.util.FileUtils has been deprecated
      [javac] final File tempFile =
      FileUtils.getFileUtils().createTempFile(PREFIX, SUFFIX, null, true);
      [javac] ^
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 2 warnings

      Attachments

        Activity

          People

            paulk Paul King
            russel Dr. Russel Winder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: