Since ant properties are immutable, all you have to do is set BAR the
value of FOO.
mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 12:32 AM
To: Ant Users List
Subject: if then
I want to do something quite simple, but with Ant it seems really
difficult.
I want to check a property BAR
On Mon, 26 Sep 2005 07:41:14 +0200, Nicolas Vervelle wrote:
done.if the requirement were a little more complicated, you'd use ,
only if all that fails, you need antcontrib (or a 3-target construction).
>Check ant-contrib, it's a library with several additional ant tasks, for
>example
>http
Check ant-contrib, it's a library with several additional ant tasks, for
example
http://ant-contrib.sourceforge.net
Kai Hendry wrote:
I want to do something quite simple, but with Ant it seems really
difficult.
I want to check a property BAR exists. If it is not set, then set it
to anoth
On Mon, 17 Feb 2003, Marc Pellier <[EMAIL PROTECTED]> wrote:
> How can I do
>
> if (a=2)
> print("Message1");
> else
> print("Message2");
${message}
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
possible answer :
- Original Message -
From: "Pellier, Marc" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 17, 2003 3:05 PM
Subject: if then else with ant
How can I do
if (a=2)
print("Message1");
else
print("Message2");
with ANT
*