Subject: Ant -- Condition Task
Author: ant
Posted on: 08/11/2010 06:04:14 PM
If the condition holds true, the property value is set (true by default); otherwise, the property is not set. You can set the value to something other than the default by specifying the value attribute.
For example:
<condition property="operate_os" value="mac" else="unix">
<and>
<os family="mac"/>
<not>
<os family="unix"/>
</not>
</and>
</condition>
Replies:
References: