ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Task proxies
Date Fri, 14 Dec 2001 11:18:50 GMT
On 14 Dec 2001, Stefan Bodewig <bodewig@apache.org> wrote:

> What I've been trying ATM:
> 
> * Project keeps track of all tasks that have been created for a
> given taskname.
> 
> * If the definition of that taskname changes, tell all the tasks
> that they are no longer valid
> 
> * Make invalidated tasks replace themselves with UnknownElements,
> which in turn would create the correct task instances when
> maybeConfigure gets called.
> 
> this is clumsy, I know.

and I've put it into CVS anyway, just to have a quick fix of the
problem in place.

This one still won't work for user defined tasks that support nested
child elements, but the hassle would be too big IMHO, I'd prefer to
rework our current implementation to use proxies that are converted to
the actual task objects at the latest time possible.

Should this be added to the Ant 1.9 list?

Stefan

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


Mime
View raw message