Recursively remove a directory

The format of the <method> element for removing a directory recursively is:

<method methodName="file.recurseRemove">

Use this method to remove a directory and all its contents. This method is useful for deleting directory trees. The <method> element contains one or more <file> elements each of which defines a directory to delete, along with all its contents. For more information, see <file>.

Example

This example recursively removes the directory named data.

<methodCall>
	<method methodName="recurseRemove">
		<file dirName="data">
		</file>
	</method>
<methodCall>