Adam,

> Where are you seeing this? Do you have some stack traces or debugging 
> output (or anything) that demonstrates the problem?

The problem is the Gant tests.  If you get the Trunk branch and run
"gradlew -i test" then you see errors that have only arisen since the
change to Ant 1.8.0.  Running the command with the -d option I see the
classpath for the execution of the tests is:

'/home/users/russel/Repositories/Bazaar/Masters/Gant/Trunk_Development/gant/build/classes/test:/home/users/russel/Repositories/Bazaar/Masters/Gant/Trunk_Development/gant/build/classes/main:/home/users/russel/.gradle/cache/org.apache.ivy/ivy/jars/ivy-2.1.0.jar:/home/users/russel/.gradle/cache/junit/junit/jars/junit-4.7.jar:/home/users/russel/.gradle/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar:/home/users/russel/.gradle/cache/org.apache.ant/ant/jars/ant-1.8.0.jar:/home/users/russel/.gradle/cache/org.apache.ant/ant-launcher/jars/ant-launcher-1.8.0.jar:/home/users/russel/lib/Java/groovy/embeddable/groovy-all-1.8.0-beta-1-SNAPSHOT.jar:/home/users/russel/.gradle/wrapper/dists/gradle-0.9-20100121145940+1100/lib/ant-junit-1.7.0.jar:/home/users/russel/.gradle/wrapper/dists/gradle-0.9-20100121145940+1100/lib/ant-1.7.0.jar:/home/users/russel/.gradle/wrapper/dists/gradle-0.9-20100121145940+1100/lib/ant-trax-1.7.0.jar:/home/users/russel/.gradle/wrapper/dists/gradle-0.9-20100121145940+1100/lib/ant-nodeps-1.7.0.jar:/home/users/russel/.gradle/wrapper/dists/gradle-0.9-20100121145940+1100/lib/ant-launcher-1.7.0.jar'

So this means Gradle is not properly insulating the test execution from
the Gradle execution classpath.  Until the Ant 1.8.0/1.7.[01]
inconsistency became a factor this problem had been hidden and not an
issue.  Now the problem is apparent. 

In particular I am seeing problems such as:

11:59:53.436 [Thread-6] INFO  o.g.a.i.p.ant.AntLoggingAdapter - [ant:junit] > 
but was:<[Invalid implementation version between Ant core and Ant optional 
tasks.
11:59:53.436 [Thread-6] INFO  o.g.a.i.p.ant.AntLoggingAdapter - [ant:junit]  
core    : 1.8.0 in 
file:/home/users/russel/.gradle/cache/org.apache.ant/ant/jars/ant-1.8.0.jar
11:59:53.436 [Thread-6] INFO  o.g.a.i.p.ant.AntLoggingAdapter - [ant:junit]  
optional: 1.7.0 in 
file:/home/users/russel/.gradle/wrapper/dists/gradle-0.9-20100121145940+1100/lib/ant-nodeps-1.7.0.jar]
11:59:53.436 [Thread-6] INFO  o.g.a.i.p.ant.AntLoggingAdapter - [ant:junit] >)

also:

11:59:19.755 [Thread-6] INFO  o.g.a.i.p.ant.AntLoggingAdapter - [ant:junit]     
[javac] [: warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

but this may be less troublesome.

Thanks.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
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   skype: russel_winder

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

Reply via email to