Adam,

On Sun, 2010-02-21 at 07:34 +1100, Adam Murdoch wrote:
> 
> On 20/02/10 11:22 PM, Russel Winder wrote:
> > I think there is a blocking problem with Groovy using Ant 1.8.0 and
> > other Groovy-based systems using Ant 1.7.0 or Ant 1.7.1 -- in this
> > particular instance Gradle.
> >
> > Ants 1.7.1 and 1.7.0 were mutually compatible, but both are seemingly
> > incompatible with Ant 1.8.0.
> >
> > I am getting problems with systems tests that instantiate Ant.
> > Expectations are being calculated using the Groovy Ant (1.8.0) but
> > reality is being provided by the system installed Ant (1.7.1 in my case)
> > and so I am getting differences which are actually spurious but
> > nonetheless terminal.
> >
> > More importantly though is that Gradle is putting some Ant 1.8.0 jars on
> > the class path and some Ant 1.7.0 jars on the classpath.  Difficulties
> > do not arise at compile time, but they become seriously apparent at test
> > time.  Tests that should pass don't even get run.
> >    
> 
> Gradle used to do this for tests. It doesn't any more - that was the 
> whole point of reworking the test execution. Are you using a recent build?

I use trunk updated daily.  ant-nodeps-1.7.0 is definitely appearing on
the class path for at least some tests.

> > Everything gets even worse when trying to execute due to API
> > incompatibilities.
> >    
> 
> Does 'trying to execute' mean 'trying to execute tests' or something else?

It was possibly something else, but I cleared out all Ant things other
than 1.8.0 and what Groovy and Gradle install, and now the execution
problem seems to be restricted to running the tests from Gradle.   As
far as I can tell the errors when using Eclipse or IDEA are only ones
due to some of the tests not being executable except from Gradle. 

-- 
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