On Sat, 2010-08-07 at 10:29 +0100, Russel Winder wrote: > I thought I would add 1.8 to the list of Groovy versions supported by > Gant. I added a new variant build name to the settings.gradle file and > appropriate information to the build.gradle file. All the old builds > build fine and the tests complete: 1.6.9, 1.7.4 and trunk > (1.8.0-beta-1), so I am fairly confident the issue is not a Gant one per > se.
How wrong can you be. It was a trivial error in Gant test code: the Groovy version string parsing code didn't take into account the brand new number format for Groovy versions. At this point I should go into a rant about how only providing a string representation of the version is a bit of a disaster for programmatic use and how Python gets it right where Groovy fails. But this is a Gradle list so I won't. ;-) What did irritate me with the Gradle output though was that of 38 error reports, 37 were complete misleading, reporting as they did the wrong exception. Fortunately 1 of the 38 error reports did report the right exception. I think though this still might be a Groovy rather than Gradle issue. Has Gradle yet got a mechanism for running a single test case class? -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
