ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@mad.scientist.com>
Subject Re: Conditionnal tasks
Date Wed, 28 Jun 2000 23:51:36 GMT
At 09:18  28/6/00 +0000, you wrote:
>Hi all!
>
>I was wondering if there was any 'conditionnals' tasks in Ant...if not
>here are the ones I'd find VERY useful :
>
>| <ant:if test="....">
>|  ...
>| </ant:if>
>
>| <ant:for-each select="....">
>|  ...
>|< /ant:for-each>

Most of the ant team I believe has decided that this is a bad thing because
it would make ant just another version of make that is in java and xml. Ant
is meant to be vey simple and declarative not procedrual.

Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message