org.apache.catalina.ant

Class DeployTask


public class DeployTask
extends AbstractCatalinaTask

Ant task that implements the /deploy command, supported by the Tomcat manager application.

Version:
$Revision: 1.6 $ $Date: 2004/02/27 14:58:40 $

Author:
Craig R. McClanahan

Since:
4.1

Field Summary

protected String
config
URL of the context configuration file for this application, if any.
protected String
localWar
URL of the server local web application archive (WAR) file to be deployed.
protected String
path
The context path of the web application we are managing.
protected String
tag
Tag to associate with this to be deployed webapp.
protected boolean
update
Update existing webapps.
protected String
war
URL of the web application archive (WAR) file to be deployed.

Fields inherited from class org.apache.catalina.ant.AbstractCatalinaTask

password, url, username

Method Summary

void
execute()
Execute the requested operation.
String
getConfig()
String
getLocalWar()
String
getPath()
String
getTag()
boolean
getUpdate()
String
getWar()
void
setConfig(String config)
void
setLocalWar(String localWar)
void
setPath(String path)
void
setTag(String tag)
void
setUpdate(boolean update)
void
setWar(String war)

Methods inherited from class org.apache.catalina.ant.AbstractCatalinaTask

execute, execute, execute, getPassword, getUrl, getUsername, setPassword, setUrl, setUsername

Field Details

config

protected String config
URL of the context configuration file for this application, if any.


localWar

protected String localWar
URL of the server local web application archive (WAR) file to be deployed.


path

protected String path
The context path of the web application we are managing.


tag

protected String tag
Tag to associate with this to be deployed webapp.


update

protected boolean update
Update existing webapps.


war

protected String war
URL of the web application archive (WAR) file to be deployed.

Method Details

execute

public void execute()
            throws BuildException
Execute the requested operation.
Overrides:
execute in interface AbstractCatalinaTask


getConfig

public String getConfig()


getLocalWar

public String getLocalWar()


getPath

public String getPath()


getTag

public String getTag()


getUpdate

public boolean getUpdate()


getWar

public String getWar()


setConfig

public void setConfig(String config)


setLocalWar

public void setLocalWar(String localWar)


setPath

public void setPath(String path)


setTag

public void setTag(String tag)


setUpdate

public void setUpdate(boolean update)


setWar

public void setWar(String war)


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