org.apache.catalina.ant

Class DeployTask

public class DeployTask extends AbstractCatalinaTask

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

Since: 4.1

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Craig R. McClanahan

Field Summary
protected Stringconfig
URL of the context configuration file for this application, if any.
protected StringlocalWar
URL of the server local web application archive (WAR) file to be deployed.
protected Stringpath
The context path of the web application we are managing.
protected Stringtag
Tag to associate with this to be deployed webapp.
protected booleanupdate
Update existing webapps.
protected Stringwar
URL of the web application archive (WAR) file to be deployed.
Method Summary
voidexecute()
Execute the requested operation.
StringgetConfig()
StringgetLocalWar()
StringgetPath()
StringgetTag()
booleangetUpdate()
StringgetWar()
voidsetConfig(String config)
voidsetLocalWar(String localWar)
voidsetPath(String path)
voidsetTag(String tag)
voidsetUpdate(boolean update)
voidsetWar(String war)

Field Detail

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 Detail

execute

public void execute()
Execute the requested operation.

Throws: BuildException if an error occurs

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 © 2000-2011 Apache Software Foundation. All Rights Reserved.