ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Morris" <David.Mor...@plumcreek.com>
Subject Task connection cleanup
Date Sat, 07 Jun 2003 23:23:24 GMT
I created an Ant task that opens a shared connection that needs to be
cleaned up at the end of a build. So far, I have come up with three
ideas:

1. Wrap the task(s) in a connection task.
2. Cleanup on finalize.
3. Use a build listener and somehow register the connection for cleanup
(can a task implement a BuildListener?)

I would appreciate any comments on these ideas or alternative
suggestions.

Thanks,

David Morris

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


Mime
View raw message