Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Ant way to get multiple inputs from user until condition is met

Ant way to get multiple inputs from user until condition is met

2005-05-14       - By Corey Ellis
Reply:     1     2  

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@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.