Hello, You can also use <antform>[1] instead of <input>. It has a <checkSelectionProperty> element which allows you to select multiple elements from a list. You can then use an ant-contrib <for> or <foreach> task to loop on the resulting list and do what you want for each item.
Rgds, Patrick Martin [1] http://antforms.sourceforge.net/ On 3/12/06, Res Pons <[EMAIL PROTECTED]> wrote: > Google and download Ant-Contrib to take advantage of the if-then-else > feature. > > ----Original Message Follows---- > From: "Shweta Bodade" <[EMAIL PROTECTED]> > Reply-To: "Ant Users List" <user@ant.apache.org> > To: "Ant Users List" <user@ant.apache.org> > Subject: And I want to input two args at a time through console > Date: Tue, 7 Mar 2006 04:08:40 -0800 > MIME-Version: 1.0 > Received: from mail.apache.org ([209.237.227.199]) by > bay0-mc3-f13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 12 > Mar 2006 03:39:31 -0800 > Received: (qmail 7573 invoked by uid 500); 12 Mar 2006 11:39:30 -0000 > Received: (qmail 2641 invoked by uid 99); 7 Mar 2006 12:08:12 -0000 > Received: pass (asf.osuosl.org: local policy includes SPF record at > spf.trusted-forwarder.org) > X-Message-Info: 6sSXyD95QpUOARoNlNFckybRV/7yL8TzbucRAh8oFnY= > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Precedence: bulk > List-Unsubscribe: <mailto:[EMAIL PROTECTED]> > List-Help: <mailto:[EMAIL PROTECTED]> > List-Post: <mailto:user@ant.apache.org> > List-Id: "Ant Users List" <user.ant.apache.org> > Delivered-To: mailing list user@ant.apache.org > X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=HTML_MESSAGE > X-Spam-Check-By: apache.org > X-IronPort-Anti-Spam-Filtered: true > X-IronPort-Anti-Spam-Result: AQAAAMEADUQJgyo > X-IronPort-AV: i="4.02,171,1139212800"; d="scan'208,217"; > a="1993970:sNHT42912051" > X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 > Content-class: urn:content-classes:message > X-MS-Has-Attach: > X-MS-TNEF-Correlator: > Thread-Topic: And I want to input two args at a time through console > Thread-Index: AcZB397wmPoW2cgbSmuwpxpXWCyCaA== > X-OriginalArrivalTime: 07 Mar 2006 12:06:54.0873 (UTC) > FILETIME=[A0407890:01C641DF] > X-Virus-Checked: Checked by ClamAV on apache.org > Return-Path: [EMAIL PROTECTED] > > Can I have multiple choices for deploying target > > > > I mean if an input message is given on selecting between three choices > and I want to execute two of them one after the other > > How can I do that > > > > For eg > > <input message=-"Select between 1. TOMCAT 2. WEBSPHERE 3.WEBLOGIC" > > Validargs="1,2,3"> > > > > > > And I want to input two args at a time through console > > > > Can you hlep me with some examples. > > _________________________________________________________________ > On the road to retirement? Check out MSN Life Events for advice on how to > get there! http://lifeevents.msn.com/category.aspx?cid=Retirement > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]