ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Fontaine" <fontaine_bertr...@hotmail.com>
Subject How to share an object between Tasks?
Date Tue, 06 Jan 2004 12:28:25 GMT
I have a set of Tasks all requiring access to the very same class instance 
(a db connection in practice). How can I implement that with ANT?

So far, I have tried to implement this behaviour via a TaskContainer but I 
can't get back the TaskContainer instance from a Task, and hence the 
reference to the object I would like to share via the TaskContainer, as far 
as the TaskContainer and the Tasks are loaded in separate class loaders.

Thank you,

Bertrand Fontaine

_________________________________________________________________



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


Mime
View raw message