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]