On Jan 1, 2008 1:08 PM, Russel Winder <[EMAIL PROTECTED]> 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/
