Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6-beta-2
-
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