ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject RE: Generic tasks/types WAS Possible Ant 1.7 alpha bug: property expansion.
Date Fri, 04 Jun 2004 16:19:00 GMT
--- Dominique Devienne <> wrote:
> This actually ties back to what Magesh proposed (the
> dispatch task).
> One of the useful bit his proposal allowed was to
> conditionally
> execute one mode or the other thanks to
> mode="${mode}", where
> mode can be configured/computed before-hand. If we
> had a way to
> configure and execute a task in a similar indirect
> way, we'd achieve
> the same goal, will still using different tasks.

Your example here was a good one for some of the
capabilities this type of thing would have (besides
accommodating my enthusiasm for brevity).  Maybe we
could handle tasks/types with a single tag/class.  
<object> or perhaps <bean>?  Opinions?  I don't think
this qualifies as entirely replacing Magesh's proposal
since, as he implied, some developers may WANT to keep
the related "operations" or modes in a single
implementing class, for whatever reasons.  But either
would definitely work nicely with conditions.


Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message