Class Deltree

java.lang.Object
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
  • 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

      public void execute() throws BuildException
      Deprecated.
      Do the work.
      Overrides:
      execute in class Task
      Throws:
      BuildException - if the task is not configured correctly or the tree cannot be removed.