1 Sep 2007 03:51
Re: [groovy-user] a proposal for the dependencies of Groovy
What in Groovy is using commons-lang?
--jason
-----Original Message-----
From: "Daniel.Sun" <realbluesun <at> hotmail.com>
Date: Fri, 31 Aug 2007 17:56:39
To:user <at> groovy.codehaus.org
Subject: Re: [groovy-user] a proposal for the dependencies of Groovy
The reason I want to upgrade the commons-lang-1.0.jar to commons-lang-2.3.jar
is that HtmlUnit is dependant on commons-lang-1.0+.
Groovy will always load commons-lang-1.0.jar and I load
commons-lang-2.3.jar, which is omitted :(
so the following code will not run.
<code>
// using HtmlUnit (htmlunit.sf.net)
import com.gargoylesoftware.htmlunit.WebClient
client = new WebClient()
page = client.getPage('http://www.perl.com/CPAN/')
println page.anchors.collect{ it.hrefAttribute }.sort().unique().join('\n')
</code>
Russel Winder wrote:
>
> On Fri, 2007-08-31 at 08:03 -0700, Daniel.Sun wrote:
>> commons-cli-1.0 used by groovy
>> latest version: commons-cli-1.1
>> I replaced commons-cli-1.0 with commons-cli-1.1, everything is ok too :)
>
> Oh no it isn't. I don't think you can have run the tests
>
> Actually, we may well move straight to CLI 2.0.
>
>> but failed to replace asm-<some module name>-2.2.jar with asm-<some
>> module
>> name>-3.0.jar
>> Caught: java.lang.NoSuchMethodError:
>> org.objectweb.asm.ClassWriter.<init>(Z)V
>
> Guillaume already decided not to make this change till after 1.1 is out.
>
> --
> Russel.
> ====================================================
> Dr Russel Winder t: +44 20 7585 2200
> 41 Buckmaster Road m: +44 7770 465 077
> London SW11 1EN, UK w: http://www.russel.org.uk/
>
>
>
--
View this message in context: http://www.nabble.com/a-proposal-for-the-dependencies-of-Groovy-tf4360466.html#a12436245
Sent from the groovy - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
RSS Feed