NAnt
Help
Function Reference
property::exists |
v0.85-nightly-2005-10-11 |
[This is preliminary documentation and subject to change.]
Checks whether the specified property exists.
bool property::exists(name)
| Name | Type | Description |
|---|---|---|
| name | string | The property to test. |
Execute a set of tasks if the "build.debug" property exists.
<if test="${property::exists('build.debug')}">
<echo message="Starting debug build" />
<call target="init-debug" />
<call target="build" />
</if>