ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Fontaine" <>
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:
For additional commands, e-mail:

View raw message