From ControlTier
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>
| Reference |
|---|
| | Ant tasks | | | | Command-line utilities | | | | XML | | | | APIs | |
|