buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schröder ...@blau.de>
Subject Re: dependencies not used for groovyc
Date Thu, 25 Feb 2010 07:48:56 GMT
it did not work out. i provide a stripped down example project

running 

petersimac:groovy peterschroder$ buildr -V; buildr clean package
Buildr 1.3.5 (JRuby 1.4.0)
(in /Users/peterschroder/Desktop/groovy, development)
Cleaning JEFW-FileIO
Building JEFW-FileIO
Compiling JEFW-FileIO into /Users/peterschroder/Desktop/groovy/target/main/classes
redefining Project
ant.taskdef :classpath
["/Users/peterschroder/.m2/repository/org/codehaus/groovy/groovy/1.5.3/groovy-1.5.3.jar",
"/Users/peterschroder/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar", "/Users/peterschroder/.m2/repository/asm/asm/2.2/asm-2.2.jar",
"/Users/peterschroder/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar", "/Users/peterschroder/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar",
"/Users/peterschroder/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar"]
ant.pathelement :path
"/Users/peterschroder/.m2/repository/org/codehaus/groovy/groovy/1.5.3/groovy-1.5.3.jar"
"/Users/peterschroder/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar"
"/Users/peterschroder/.m2/repository/asm/asm/2.2/asm-2.2.jar"
"/Users/peterschroder/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar"
"/Users/peterschroder/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar"
"/Users/peterschroder/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar"
  [groovyc] Compiling 4 source files to /Users/peterschroder/Desktop/groovy/target/main/classes
Compiling JEFW-FileIO:test into /Users/peterschroder/Desktop/groovy/target/test/classes
ant.taskdef :classpath
["/Users/peterschroder/.m2/repository/org/codehaus/groovy/groovy/1.5.3/groovy-1.5.3.jar",
"/Users/peterschroder/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar", "/Users/peterschroder/.m2/repository/asm/asm/2.2/asm-2.2.jar",
"/Users/peterschroder/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar", "/Users/peterschroder/.m2/repository/junit/junit/4.4/junit-4.4.jar",
"/Users/peterschroder/.m2/repository/junit/junit/4.5/junit-4.5.jar", "/Users/peterschroder/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar",
"/Users/peterschroder/Desktop/groovy/target/main/classes", "/Users/peterschroder/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar",
"/Users/peterschroder/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar"]
ant.pathelement :path
"/Users/peterschroder/.m2/repository/org/codehaus/groovy/groovy/1.5.3/groovy-1.5.3.jar"
"/Users/peterschroder/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar"
"/Users/peterschroder/.m2/repository/asm/asm/2.2/asm-2.2.jar"
"/Users/peterschroder/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar"
"/Users/peterschroder/.m2/repository/junit/junit/4.4/junit-4.4.jar"
"/Users/peterschroder/.m2/repository/junit/junit/4.5/junit-4.5.jar"
"/Users/peterschroder/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar"
"/Users/peterschroder/Desktop/groovy/target/main/classes"
"/Users/peterschroder/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar"
"/Users/peterschroder/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar"
  [groovyc] Compiling 1 source file to /Users/peterschroder/Desktop/groovy/target/test/classes
E, [2010-02-25T08:47:06.318000 #5034] ERROR -- : Error instantiating 'groovyc' task: java.lang.NoClassDefFoundError:
junit/framework/TestCase
Buildr aborted!
java.lang.NoClassDefFoundError: junit/framework/TestCase

maybe there is some problem within the groovy jar or some other dependency, because i just
dont use junit TestCase in the project?!

bye the way 'buildr -V && buildr clean package' wont work, is this intended?


Mime
View raw message