ControlTier Inc. > CTL
 
Font size:      

shellscriptcondition

Description

The shellscriptcondition type is a cusom condition that can be used in the condition core Ant task.

shellscriptcondition

The shellscriptcondition is based on the ant-contrib task, shellscript, and uses the same attributes

Examples

     <condition property="shellscriptCondition.success">
         <shellscriptcondition executable="bash">
            exit 1
         </shellscriptcondition>
      </condition>
      <fail unless="doCondition.success">FAIL</fail>