ModuleExists Type Reference
From ControlTier
Description
The module-exists type is a custom condition that can be used in the condition core Ant task or any task that accepts a condition.
Requires Version 3.4.6 (help?)
Attributes
The module-exists condition takes two attributes
| attribute | description | required |
|---|---|---|
| depot | project name | true |
| module | module name | true |
Examples
<condition property="exists">
<module-exists depot="${context.depot}" module="shellutil"/>
</condition>
<fail unless="exists">shellutil not found!</fail>
| ||||||||||||||