ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <>
Subject Re: Ivy file not published when using specific configuration
Date Wed, 23 May 2007 08:46:19 GMT
* 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

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

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(
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::

     Jean-Baptiste Quenot
aka  John Banana   Qwerty

View raw message