Determines whether the specified file exists.
true if file refers to an existing file; otherwise, false.
Execute a set of tasks, if file "output.xml" does not exist.
<if test="${not file::exists('output.xml')}">
...
</if>
FileFunctions Class | NAnt.Core.Functions Namespace