Sorry abut that last empty post. You might want to look at AntForm, http://antforms.sourceforge.net/ . With it you can show a UI window where the user can pick the component to deploy by clicking check boxes. Each checkbox can set a different property that you can test to see if you want to proceed.
HTH Bill -----Original Message----- From: Shailesh Sharma [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 8:13 AM To: Ant Users List Subject: Re: Problem with condition selection property; Help needed actually, the deployer is sometimes suggested to just deploy 1 or 2 or 3 or etc. So, it circumstantial. Kevin Jackson <[EMAIL PROTECTED]> wrote: Hi, You are setting a property to a value (n | y) in your [input] task. As soon as you set a property it keeps that value for the whole build as ant properties are immutable. It won't behave like you expect and each time reset to the value you choose, it will just be the first value that you set. I'm also not sure that using a loop is the best way to achieve your requirements, isn't it easier to just deploy all of the ear files in an output directory regardless of how many there are? Why do you need to loop at all? Kev --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]