ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: Ant way to get multiple inputs from user until condition is met
Date Sat, 14 May 2005 16:39:57 GMT
I am not sure how you are going to save the addresses, but with 
<scriptdef> you can implement this logic.

- Alexey.

Corey Ellis wrote:

>Hi,
>
>I need to ask the user for 1 or more ipaddresses.  I want to stop
>asking when the user enter's return without providing any data.
>
>I looked at the foreach task but I have to set a limit in order for
>this to work.
>
>Any clean way using Ant to allow this scenario.
>
>I would like to see something like this.
>
>
>while(!done) {
>     Ask for ip and port
>     if (done)
>        break
>     }
>}
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>  
>

-- 
------------------------------------------------------------------------
/ Alexey N. Solofnenko
home: http://trelony.cjb.net/
/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message