org.apache.catalina.ant
public class DeployTask extends AbstractCatalinaTask
/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) $
| 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. |
| 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) |
Throws: BuildException if an error occurs