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:
Cloneable
Deprecated.
The deltree task is deprecated since Ant 1.2. Use
delete instead.
- Since:
- Ant 1.1
-
Field Summary
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
-
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
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.
-