org.apache.tools.ant.taskdefs

Class Deltree


public class Deltree
extends Task

Since:
Ant 1.1

Field Summary

Fields inherited from class org.apache.tools.ant.Task

description, location, target, taskName, taskType, wrapper

Fields inherited from class org.apache.tools.ant.ProjectComponent

project

Method Summary

void
execute()
Do the work.
void
setDir(File dir)
Set the directory to be deleted

Methods inherited from class org.apache.tools.ant.Task

execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

Methods inherited from class org.apache.tools.ant.ProjectComponent

getProject, log, log, setProject

Method Details

execute

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

setDir

public void setDir(File dir)
Set the directory to be deleted
Parameters:
dir - the root of the tree to be removed.

Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.