NAnt
Help
Function Reference
file::exists |
v0.92-rc1 |
[This is preliminary documentation and subject to change.]
Determines whether the specified file exists.
bool file::exists(file)
| Name | Type | Description |
|---|---|---|
| file | string | The file to check. |
Execute a set of tasks, if file "output.xml" does not exist.
<if test="${not file::exists('output.xml')}">
...
</if>