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 12:19:13 GMT
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:vitavolkova@gmail.com]
> Sent: mercredi 19 d├ęcembre 2007 11:12
> To: ivy-user@incubator.apache.org
> 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.


Mime
View raw message