ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Corey Ellis <corey.m.el...@gmail.com>
Subject Ant way to get multiple inputs from user until condition is met
Date Sat, 14 May 2005 13:13:26 GMT
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


Mime
View raw message