Folder Exists Condition

Checks if a folder exists.


Available from version 1.6


Basic example

1<folderExistsCondition folder="documentation" />

Example in context

 2  <conditions>
 3    <folderExistsCondition>
 4      <folder>documentation</folder>
 5    </folderExistsCondition>
 6  </conditions>
 7  <tasks>
 8    <!-- Tasks to perform if condition passed -->
 9  </tasks>
10  <elseTasks>
11    <!-- Tasks to perform if condition failed -->
12  </elseTasks>

Configuration Elements

Element Description Type Required Default Version
description A description of the condition. String No none 1.6
folder The folder to check for.
If the folder is relative then it will be relative to the working directory.
String Yes n/a 1.6


This condition has been kindly supplied by Lasse Sjørup. The original project is available from [[]].

Automatically Generated

Documentation generated on Monday, 26 May 2014 at 7:18:03 AM