ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Upgrading 1.4.1 -> 2.0.0-beta1
Date Thu, 03 Jan 2008 20:13:34 GMT
On Jan 1, 2008 1:08 PM, Russel Winder <russel.winder@concertant.com> wrote:

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

Indeed, and a NPE should be considered as a bug anyway, so thanks for
reporting the problem. Could you open an issue in JIRA?

Xavier


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



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message