Class Deltree

All Implemented Interfaces:
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(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.