ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Foreach task)
Date Mon, 11 Jun 2001 19:02:36 GMT

=> On Mon, 11 Jun 2001 10:46:34 -0700, Peter  Vogel <> said:

> The *right* way would be for a couple of terms that are used anytime a 
> human describes a build process to find their way into the ant core:
> 	foreach, if

Hmm.  How about:

'There should be no argument to any ant task which takes only a singular
argument.  It should take a list of possibly one item, and promote a singular
argument to a list of one if necessary.'

Then your foreaches magically fall out.

<target name="deploy" depends="tested-out-the-wazoo">
<ftp hosts="hostlistname"

<target name="restart" depends="deploy">

- Allen S. Rout

View raw message