It's the version of Java you are building with. You aren't doing anything
wrong, however, you could probably build with a later version of Java until I
get a fix checked in. I'll change it to not use covariant types. Messes up the
fluent style interface for Java, though :(.
Steve Appling wrote:
Hmmm, it's still working for me (and on the CI builds). That does,
however, seem related to something I changed recently. Looks like
covariant return types aren't working. Are you doing a normal build, or
are you in some way using an older version of Groovy? I remember that
covariant return types used to not work.
Russel Winder wrote:
:clean
:userguideStyleSheets
:distDocs
:groovydoc
:compile
org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed,
/home/users/russel/Repositories/Bazaar/Subversion/GradleCore/Trunk/src/main/groovy/org/gradle/api/internal/file/CopySpecImpl.groovy:
62: The return type of org.gradle.api.file.CopySpec
from([Ljava.lang.Object;) in org.gradle.api.internal.file.CopySpecImpl
is incompatible with org.gradle.api.file.CopySourceSpec
from([Ljava.lang.Object;) in org.gradle.api.file.CopySourceSpec.
Node: org.codehaus.groovy.ast.MethodNode. At [62:5] @ line 62, column 5.
CopySpec from(Object... sourcePaths) {
^
1 error
Build failed with an exception.
Run with -s or -d option to get more details. Run with -f option to
get the full (very verbose) stacktrace.
Build file
'/home/users/russel/Repositories/Bazaar/Subversion/GradleCore/Trunk/build.gradle'
Execution failed for task ':compile'.
Cause: Forked groovyc returned error code: 1
BUILD FAILED
Total time: 3 mins 5.081 secs
--
Steve Appling
Automated Logic Research Team
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email