ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <>
Subject Re: if then else with ant
Date Mon, 17 Feb 2003 20:39:05 GMT
You can also use the "if" task that comes with the Antelope distribution:

<if name="a" value="2">

Antelope home page is
"if" task documentation is at

Dale Anson

Pellier, Marc wrote:

>How can I do 
>if (a=2)
>	print("Message1");
>	print("Message2");
>with ANT
>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:
>For additional commands, e-mail:

View raw message