Class 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
    • Constructor Detail

      • Deltree

        public Deltree()
        Deprecated.
    • Method Detail

      • 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.