org.apache.tools.ant.taskdefs

Class Deltree

public class Deltree extends Task

Deprecated: The deltree task is deprecated since Ant 1.2. Use delete instead.

Since: Ant 1.1

Method Summary
voidexecute()
Do the work.
voidsetDir(File dir)
Set the directory to be deleted

Method Detail

execute

public void execute()
Do the work.

Throws: BuildException if the task is not configured correctly or the tree cannot be removed.

setDir

public void setDir(File dir)
Set the directory to be deleted

Parameters: dir the root of the tree to be removed.

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.