You should avoid to load twice ivy.  If you don't have multiproject (and subant 
call), you can simply put your taskdef
outside a task.  You could also make the loading conditional (set a property 
when you load it the first time and only
reload it if the property is not set).  You can maybe also use a loader (one of 
the attribute of the taskdef task).

Gilles

> -----Original Message-----
> From: Vitoria [mailto:[EMAIL PROTECTED]
> Sent: mercredi 19 décembre 2007 11:12
> To: [email protected]
> Subject: RE: retrieve double call exception
> 
> 
> This is not a multi project.
> Yes, I load the ivy tasks twice.
> This happens even in the simplest case when you execute "ant ivy-retrieve
> ivy-retrieve"
> 
> I can't raise a jira issue because I don't have access.
> 
> I have attached logs of ant -v and ant -d execution.
> http://www.nabble.com/file/p14414252/ant_v.log ant_v.log
> http://www.nabble.com/file/p14414252/ant_d.log ant_d.log
> 
> --
> View this message in context: 
> http://www.nabble.com/ivy%3Aretrieve-double-call-exception-
> tp14412973p14414252.html
> Sent from the ivy-user mailing list archive at Nabble.com.

Reply via email to