* Xavier Hanin:
> Maybe you could give Ivy 2.0-alpha1 a try, just to see if you
> have the same problem and a better message? It's supposed to be
> backward compatible, so a drop in replacement for the test
> should work.
I installed ivy-core-2.0.0-alpha-1-incubating.jar and had this
error:
taskdef class org.apache.ivy.ant.IvyConfigure cannot be found
Using ivy-2.0.0-alpha-1-incubating.jar, it works. A bit
confusing? Why do you provide two jars? Why IvyConfigure is not
in ivy core's jar?
I have the beginning of an answer by looking at this deprecation
message:
DEPRECATED: 'ivyconf' element is deprecated, use 'ivysettings' instead
To be truly backwards compatible, you should include the configure
task in ivy core.
Otherwise, the ivy.xml is still not published with the new
version. And as you mentioned, the error message is better
indeed (but there's a NPE not properly handled in Ivy):
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: [ organisation | artifact | latest.development ]:
java.lang.NullPointerException at
org.apache.ivy.plugins.resolver.AbstractResourceResolver.findResource(AbstractResourceResolver.java:135)
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
Cheers,
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/