ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <gscok...@gmail.com>
Subject RE: retrieve double call exception
Date Wed, 19 Dec 2007 09:23:47 GMT
Sounds like a bug.
Did you have multi project?  Did you load twice the ivy tasks?

In any case, could you raise a jira issue, and put the result of the ant -v or ant -d execution.



Gilles

> -----Original Message-----
> From: Vitoria [mailto:vitavolkova@gmail.com]
> Sent: mercredi 19 d├ęcembre 2007 9:55
> To: ivy-user@incubator.apache.org
> Subject: ivy:retrieve double call exception
> 
> 
> I'm using Ivy 2.0.0-beta1 and I faced such problem:
> I need to run few targets from ant e.g. ant createdb runtests. These two
> targets depend on ivy-retrieve target. But when it tries to load settings
> file second time exception occurs:
> 
> -----------------------------
> [ivy:retrieve] :: Ivy 2.0.0-beta1 - 20071206070608 ::
> http://ant.apache.org/ivy/ ::
> :: loading settings :: file = E:\testprj\res\ivysettings.xml
> 
> BUILD FAILED
> E:\testprj\build.xml:73: java.lang.ClassCastException:
> org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor
> -----------------------------
> 
> So, I can't call ivy:retrieve task several times.
> 
> Any ideas how to solve this problem?
> Thank you.
> --
> View this message in context: http://www.nabble.com/ivy%3Aretrieve-double-call-exception-
> tp14412973p14412973.html
> Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message