ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Approach to Conditionals: SOMETHING USEFUL ON THIS TOPIC
Date Thu, 05 Jul 2001 14:19:30 GMT
On Fri,  6 Jul 2001 00:14, matt.inger@sedonacorp.com wrote:
> I'm not saying you have to provide a complete flow control solution, but at
> lease some basic constructs such as "if/elseif/else", and "foreach". 
> Switch is not necessary, as it can be done with an if (and would in effect
> probably be the same code anyway).
>
> It would serve 2 purposes..
>
> 1) it would make user's lives easier
> 2) it would make your life easier because you'd have to stop
>      hearing the same request over and over again.

Agreed. Theres a group of peeps I am currently working with to make something 
like Ant work as a complete command input replacement. If you think unix then 
think of it as a replacement for crontab, initab and some other scripts. In 
that case we need foreach, if, switch (and I have actually already coded them 
up). However they will never be available from the ant core website.

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

Mime
View raw message