go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Ant -- Condition Task
 
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:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.