ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Corey Ellis <>
Subject Ant way to get multiple inputs from user until condition is met
Date Sat, 14 May 2005 13:13:26 GMT

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)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message