Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
AW: if then else with ant

AW: if then else with ant

2003-02-17       - By Jan.Materne@(protected)

Ant-Contrib will help you:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/ant-contrib/ant-co
ntrib/manual/tasks/if.html?rev=HEAD&content-type=text/html


Jan Mat?rne

-----Urspr?ngliche Nachricht-----
Von: Pellier, Marc [mailto:Marc.Pellier@(protected)]
Gesendet am: Montag, 17. Februar 2003 15:06
An: Ant Users List
Betreff: if then else with ant

How can I do

if (a=2)
  print("Message1");
else
  print("Message2");


with ANT

****************************************************************************
Disclaimer:
This electronic transmission and any files attached to it are strictly
confidential and intended solely for the addressee. If you are not
the intended addressee, you must not disclose, copy or take any
action in reliance of this transmission. If you have received this
transmission in error, please notify the sender by return and delete
the transmission.  Although the sender endeavors to maintain a
computer virus free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages
resulting from any virus transmitted.
Thank You.
****************************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.