When do you think the contrib stuff will be included in ant proper? It would seem to make sense - its so well known and widely used.
Miles > -----Original Message----- > From: Scot P. Floess [mailto:[EMAIL PROTECTED] > Sent: Thursday 14 February 2008 19:52 > To: Ant Users List > Subject: Re: conditional statements > > If you want true if/then/else, I'd recommend looking at ant-contrib > (http://ant-contrib.sourceforge.net/) - there are some tasks > there... > One of which is if/then/else as well as switch/case > > If you want to use stock Ant, you can get creative with targets. > However, based on your posting I surmise you really want if-then-else > > jonese wrote: > > How would i do something like > > > > if x = true{ > > stuff > > }else{ > > other stuff > > } > > > > in ant? basically i want to see if a property is true and > if it is do > > x instructions, if it's false do y. > > > > jonese > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] For > additional > > commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Scot P. Floess > 27 Lake Royale > Louisburg, NC 27549 > > 252-478-8087 (Home) > 919-754-4592 (Work) > > Chief Architect JPlate http://sourceforge.net/projects/jplate > Chief Architect JavaPIM http://sourceforge.net/projects/javapim > > Architect Keros http://sourceforge.net/projects/keros > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] > > -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]