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- 
Fields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description Deltree()Deprecated.
 - 
Method Summary- 
Methods inherited from class org.apache.tools.ant.TaskbindToOwner, 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.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
- 
 
- 
- 
- 
Method Detail- 
setDirpublic void setDir(java.io.File dir) Deprecated.Set the directory to be deleted- Parameters:
- dir- the root of the tree to be removed.
 
 - 
executepublic void execute() throws BuildExceptionDeprecated.Do the work.- Overrides:
- executein class- Task
- Throws:
- BuildException- if the task is not configured correctly or the tree cannot be removed.
 
 
- 
 
-