org.apache.anteater.test
Class Undeploy

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.anteater.test.BaseTask
                    |
                    +--org.apache.anteater.test.Undeploy
All Implemented Interfaces:
Groupable

public class Undeploy
extends BaseTask

Task for undeploying applications from the ServletContainer at runtime. FIXME: Although this pushes the correct buttons on Tomcat, undeployed apps still seem to be available. Not sure if this is a Tomcat bug.

Since:
August 12, 2002
Version:
$Revision: 1.1 $ $Date: 2002/08/12 07:29:00 $
Author:
Ovidiu Predescu
See Also:
Deploy, ServletContainerTask

Field Summary
protected  String path
           
 
Fields inherited from class org.apache.anteater.test.BaseTask
debug, debugWasSet
 
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
 
Constructor Summary
Undeploy()
           
 
Method Summary
 void execute()
           
 void setPath(String path)
          Context path of the webapp to undeploy.
 
Methods inherited from class org.apache.anteater.test.BaseTask
debug, getDebug, getGroup, print, println, resolveContentURL, setDebug, setGroup, setGroup
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

protected String path
Constructor Detail

Undeploy

public Undeploy()
Method Detail

setPath

public void setPath(String path)
Context path of the webapp to undeploy. Must start with '/'.


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException


Ant Functional Tester -- see Project home page for details