org.apache.anteater.test
Class Deploy

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

public class Deploy
extends BaseTask

Task for deploying new web applications into the ServletContainer at runtime.

Since:
June 16, 2002
Version:
$Revision: 1.7 $ $Date: 2002/08/12 08:55:09 $
Author:
Ovidiu Predescu
See Also:
Undeploy, ServletContainerTask

Field Summary
protected  File docBase
           
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
Deploy()
           
 
Method Summary
 void execute()
           
 void setPath(String path)
          Context path to map to the webapp.
 void setWebapp(File docBase)
          Path to the directory containing the unpacked webapp, or to a war file.
 
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

docBase

protected File docBase
Constructor Detail

Deploy

public Deploy()
Method Detail

setPath

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


setWebapp

public void setWebapp(File docBase)
Path to the directory containing the unpacked webapp, or to a war file. Relative to the Ant basedir directory.


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