ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russel Winder <russel.win...@concertant.com>
Subject Re: Upgrading 1.4.1 -> 2.0.0-beta1
Date Tue, 01 Jan 2008 12:08:53 GMT

On Tue, 2008-01-01 at 11:46 +0000, Russel Winder wrote:
> I guess I must just be missing something that I should not but...

<moral>Do more work before asking question on mailing list.</moral>

> No ivy:settings found for the default reference 'ivy.instance'.  A
> default instance will be used
> no settings file found, using default...
> [ivy:cachepath] :: Ivy 2.0.0-beta1 - 20071206070608 ::
> http://ant.apache.org/ivy/ ::
> :: loading settings :: url =
> jar:file:/home/users/russel/lib/Java/groovy/lib/ivy-2.0.0-beta1.jar!/org/apache/ivy/core/settings/ivysettings.xml
> 
> BUILD FAILED
> /home/Checkouts/SVK/Gant/local/gant/trunk/examples/ivy/build.xml:36:
> impossible to resolve dependencies:
>         java.lang.NullPointerException

OK, the problem seems to be that I had:

    <ivy:cachepath organisation="apache" module="commons-lang"
revision="2.3"  pathid="lib.path.id" inline="true"/>

when I should have had:

    <ivy:cachepath organisation="commons-lang" module="commons-lang"
revision="2.3"  pathid="lib.path.id" inline="true"/>

With this change things work.  So I guess my problem is that the error
message from Ivy really is very not helpful at all.  
-- 
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077

Mime
View raw message