CommandExists Type Reference

From ControlTier

Jump to: navigation, search

Description

The command-exists type is a custom condition that can be used in the condition core Ant task or any task that accepts a condition.

Attributes

The command-exists condition takes three attributes

attribute description required
depot project name true
module module name true
command command name true

Examples

     <condition property="exists">
         <command-exists depot="${context.depot}" module="shellutil" command="exec"/>
      </condition>
      <fail unless="exists">shellutil#exec not found!</fail>

      
Personal tools
Namespaces
Variants
Actions
Navigation
Communication
Development
Toolbox
Print/export