NAnt
![]() ![]() ![]() |
v0.91 |
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>