Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
I am new to Groovy just thought I would try it. I downloaded 1.0-beta-7 and it installed fine. I came across bug Groovy-641 of course. This led me to try and build groovy from the CVS (to help me learn a bit about Maven). I used the maven command as given on the Web site and it seemed to work fine. However when it came to a build, I got an error. I am using JDK 1.5. I guess this problem is already known but I could find any reference to it via the JIRA search. Apologies if this is a duplicate.
507 elon:~/Progs/Other_CVS/groovy/groovy-core
> cvs update 508 elon:~/Progs/Other_CVS/groovy/groovy-core |
||||||
> maven __ __ |
||||||
\/ | __ Apache_ ___ | |||||
\/ | / ` \ V / -) ' \ ~ intelligent projects ~ | |||||
_ | _,_ | _/___ | _ | _ | v. 1.0.1 |
---|
build:start:
clean:clean:
[delete] Deleting directory /home/users/russel/Progs/Other_CVS/groovy/groovy-core/target
clean:
java:prepare-filesystem:
[mkdir] Created dir: /home/users/russel/Progs/Other_CVS/groovy/groovy-core/target/classes
java:compile:
[echo] Compiling to /home/users/russel/Progs/Other_CVS/groovy/groovy-core/target/classes
[javac] Compiling 299 source files to /home/users/russel/Progs/Other_CVS/groovy/groovy-core/target/classes
/home/users/russel/Progs/Other_CVS/groovy/groovy-core/src/main/groovy/lang/GroovyCodeSource.java:98: reference to CodeSource is ambiguous, both method CodeSource(java.net.URL,java.security.cert.Certificate[]) in java.security.CodeSource and method CodeSource(java.net.URL,java.security.CodeSigner[]) in java.security.CodeSource match
info[1] = new CodeSource(file.toURI().toURL(), null);
^
/home/users/russel/Progs/Other_CVS/groovy/groovy-core/src/main/groovy/util/AntBuilder.java:349: warning: [deprecation] createElement(org.apache.tools.ant.Project,java.lang.Object,java.lang.String) in org.apache.tools.ant.IntrospectionHelper has been deprecated
dataType = ih.createElement(getAntProject(), object, name.toLowerCase());
^
/home/users/russel/Progs/Other_CVS/groovy/groovy-core/src/main/org/codehaus/groovy/classgen/AsmClassGenerator.java:3116: warning: [deprecation] setLastVariableIndex(int) in org.codehaus.groovy.classgen.BlockScope has been deprecated
scope.setLastVariableIndex(getNextVariableID());
^
/home/users/russel/Progs/Other_CVS/groovy/groovy-core/src/main/org/codehaus/groovy/runtime/WritableFile.java:102: warning: compareTo(java.lang.Object) in org.codehaus.groovy.runtime.WritableFile overrides compareTo(java.lang.Object) in java.io.File; overridden method is a bridge method
public int compareTo(Object arg0) {
^
1 error
3 warnings
BUILD FAILED
File...... /home/users/russel/.maven/cache/maven-java-plugin-1.4/plugin.jelly
Element... ant:javac
Line...... 53
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 7 seconds
Finished at: Sun Nov 21 09:54:44 GMT 2004
509 elon:~/Progs/Other_CVS/groovy/groovy-core
> java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode) 510 elon:~/Progs/Other_CVS/groovy/groovy-core |
> |