I updated the draft Gant build using Gradle to the 0.6 syntax and tried
it with a build of Gradle Trunk and:

        |> gradle test
        Using Groovy version 1.7-beta-1-SNAPSHOT from 
/home/users/russel/lib/Java/groovy
        :init
        :resources
        :compile
        downloading (24 KB) 
file:/home/users/russel/.m2/repository/org/codehaus/groovy/groovy-all/1.7-beta-1-SNAPSHOT/groovy-all-1.7-beta-1-SNAPSHOT.pom
        ..
        :: problems summary ::
        :::: ERRORS
                unknown resolver MavenRepo_jars
        
                unknown resolver MavenRepo_jars
        
                unknown resolver MavenRepo_jars
        
        downloading (24 KB) 
file:/home/users/russel/.m2/repository/org/codehaus/groovy/groovy-all/1.7-beta-1-SNAPSHOT/groovy-all-1.7-beta-1-SNAPSHOT.pom
        ..
        downloading (4.69 MB) 
file:/home/users/russel/.m2/repository/org/codehaus/groovy/groovy-all/1.7-beta-1-SNAPSHOT/groovy-all-1.7-beta-1-SNAPSHOT.jar
        
.........................................................................
        :testResources
        :testCompile
        downloading (24 KB) 
file:/home/users/russel/.m2/repository/org/codehaus/groovy/groovy-all/1.7-beta-1-SNAPSHOT/groovy-all-1.7-beta-1-SNAPSHOT.pom
        ..
        downloading (4.69 MB) 
file:/home/users/russel/.m2/repository/org/codehaus/groovy/groovy-all/1.7-beta-1-SNAPSHOT/groovy-all-1.7-beta-1-SNAPSHOT.jar
        
.........................................................................
        :test
        downloading (24 KB) 
file:/home/users/russel/.m2/repository/org/codehaus/groovy/groovy-all/1.7-beta-1-SNAPSHOT/groovy-all-1.7-beta-1-SNAPSHOT.pom
        ..
        downloading (4.69 MB) 
file:/home/users/russel/.m2/repository/org/codehaus/groovy/groovy-all/1.7-beta-1-SNAPSHOT/groovy-all-1.7-beta-1-SNAPSHOT.jar
        
.........................................................................
        [ant:junit] Tests FAILED
        
        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/Masters/Gant/Development/build.gradle'
        
        Execution failed for task ':test'.
        Cause: There were failing tests. See the report at 
/home/users/russel/Repositories/Bazaar/Masters/Gant/Development/build/reports/tests.
        
        BUILD FAILED
        
        Total time: 1 mins 19.05 secs

The problem of the moment is not the failing tests -- though that is a
problem since they don't fail for Ant or Gant -- the problem is the
multiple downloading of the same POM and Jar.  Why does this happen and
isn't going to cause outrage?

The relevant bits of the Gradle file are:

        repositories {
          mavenRepo ( name : 'Local' , rootRepo : 
'file:///home/users/russel/.m2/repository' )
          mavenCentral ( )
        }
          
        dependencies {
          groovy ( 'org.codehaus.groovy:groovy-all:' + groovyVersion )
          compile (
                     'commons-cli:commons-cli:' + 
ant.antProject.properties.commonsCliVersion ,
                     'org.apache.ant:ant:' + 
ant.antProject.properties.antVersion
                   )
          testCompile (
                         'junit:junit:' + ant.antProject.properties.junitVersion
                          )
          testRuntime (
                         'org.apache.ivy:ivy:' + 
ant.antProject.properties.ivyVersion
                         )
        }
-- 
Russel.
============================================================
Dr Russel Winder                 Partner

Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,     f: +44 8700 516 084    voip:  
sip:[email protected]
London SW11 1EN, UK.    m: +44 7770 465 077    xmpp: [email protected]

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to