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:[EMAIL PROTECTED] > Sent: mercredi 19 décembre 2007 9:55 > To: [email protected] > 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.
