org.apache.catalina.ant

Class InstallTask

public class InstallTask extends AbstractCatalinaTask

Deprecated: Replaced by DeployTask

Ant task that implements the /install 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 Stringpath
The context path of the web application we are managing.
protected Stringwar
URL of the web application archive (WAR) file, or the unpacked directory containing this application, if any.
Method Summary
voidexecute()
Execute the requested operation.
StringgetConfig()
StringgetPath()
StringgetWar()
voidsetConfig(String config)
voidsetPath(String path)
voidsetWar(String war)

Field Detail

config

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

path

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

war

protected String war
URL of the web application archive (WAR) file, or the unpacked directory containing this application, if any.

Method Detail

execute

public void execute()
Execute the requested operation.

Throws: BuildException if an error occurs

getConfig

public String getConfig()

getPath

public String getPath()

getWar

public String getWar()

setConfig

public void setConfig(String config)

setPath

public void setPath(String path)

setWar

public void setWar(String war)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.