Package org.apache.tools.ant.taskdefs
Class Deltree
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Deltree
- All Implemented Interfaces:
java.lang.Cloneable
@Deprecated public class Deltree extends Task
Deprecated.
The deltree task is deprecated since Ant 1.2. Use
delete instead.
- Since:
- Ant 1.1
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Deltree()
Deprecated. -
Method Summary
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
Deltree
public Deltree()Deprecated.
-
-
Method Details
-
setDir
public void setDir(java.io.File dir)Deprecated.Set the directory to be deleted- Parameters:
dir
- the root of the tree to be removed.
-
execute
Deprecated.Do the work.- Overrides:
execute
in classTask
- Throws:
BuildException
- if the task is not configured correctly or the tree cannot be removed.
-