ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: The difficulty of extending Ant with large Antlibs because...
Date Sat, 24 Mar 2007 13:57:55 GMT
On Mon, 19 Mar 2007, Steve Loughran <stevel@apache.org> wrote:
> Wascally Wabbit wrote:

>> Perhaps there could be a clear "I'm configured" trigger or event or
>> callback or method or something before the task's execute method is
>> called.
> 
> +1

+1 here as well.

>> + Perhaps DataTypes can also have the ability to know when they've
>> been completely configured (from Ant's perspective)?

Agreed as well.

> -A componentTerminated() method is useful to say "you are no longer
> needed, ever. Clean up. Because finalizers are a no-no, and
> execute(), well, it can retain some state, can't it?"

It would never be called on DataTypes, at least not things you've
stuffed into the references table.

Why should a task need a cleanup method beyond "end of execute has
been reached"?  With 1.7 you don't reuse tasks beyond theri execution
time anymore.

Stefan

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


Mime
View raw message