RE: if then

2005-09-26 Thread Dick, Brian E.
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

Re: if then

2005-09-26 Thread Juergen Hermann
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

Re: if then

2005-09-25 Thread Nicolas Vervelle
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

Re: if then else with ant

2003-02-17 Thread Stefan Bodewig
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

Re: if then else with ant

2003-02-17 Thread Antoine Levy-Lambert
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 *