ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronen Mashal <ro...@jacada.com>
Subject Re: Using multiple if on target element
Date Tue, 15 Mar 2005 10:26:13 GMT
You don't have to write a target but you will have to use the <condition>
task to set a third property. Use the <isset> nested elements in the
<condition>.
The <condition> task can be used outside of a target. It will be evaluated
before any target is executed.

Ronen.

Antony Paul <antonypaul24@gmail.com> wrote on 03/15/2005 12:14:07 PM:

> Hi all,
>     I need to check whether two properties are set before executing a
> task. I could check for one property using if attribute of target. How
> to check for 2 properties are set ?.
>     I dont want to write another target to check this condition.
> --
> rgds
> Antony Paul
> http://www.geocities.com/antonypaul24/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message