ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <gscok...@gmail.com>
Subject RE: Reinitializing static variables
Date Tue, 20 Mar 2007 09:35:55 GMT
Make sure your tasks are defined in the same loader (an option of the
taskdef task).

Gilles

> -----Original Message-----
> From: ravi p [mailto:pasala.ravi@gmail.com]
> Sent: mardi 20 mars 2007 7:54
> To: user@ant.apache.org
> Subject: Reinitializing static variables
> 
> hi ,
> 
> I have written two ant tasks, in one task I have static final List object,
> also I am adding objects into this static list object, in another task, if
> I
> want retrieve the objects from the static list, it is giving zero results.
> 
> Any thoughts , regarding how can I share a static object between two
> tasks..
> ?
> 
> Thanks
> Ravi.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message