public class DeployTask extends AbstractCatalinaCommandTask
/deploy
command, supported by
the Tomcat manager application.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
config
URL of the context configuration file for this application, if any.
|
protected java.lang.String |
localWar
URL of the server local web application archive (WAR) file
to be deployed.
|
protected java.lang.String |
tag
Tag to associate with this to be deployed webapp.
|
protected boolean |
update
Update existing webapps.
|
protected java.lang.String |
war
URL of the web application archive (WAR) file to be deployed.
|
path, version
charset, ignoreResponseConstraint, password, url, username
alwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream
Constructor and Description |
---|
DeployTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the requested operation.
|
java.lang.String |
getConfig() |
java.lang.String |
getLocalWar() |
java.lang.String |
getTag() |
boolean |
getUpdate() |
java.lang.String |
getWar() |
void |
setConfig(java.lang.String config) |
void |
setLocalWar(java.lang.String localWar) |
void |
setTag(java.lang.String tag) |
void |
setUpdate(boolean update) |
void |
setWar(java.lang.String war) |
createQueryString, getPath, getVersion, setPath, setVersion
execute, execute, getCharset, getPassword, getUrl, getUsername, isIgnoreResponseConstraint, setCharset, setIgnoreResponseConstraint, setPassword, setUrl, setUsername
addConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputproperty
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected java.lang.String config
protected java.lang.String localWar
protected java.lang.String tag
protected boolean update
protected java.lang.String war
public java.lang.String getConfig()
public void setConfig(java.lang.String config)
public java.lang.String getLocalWar()
public void setLocalWar(java.lang.String localWar)
public java.lang.String getTag()
public void setTag(java.lang.String tag)
public boolean getUpdate()
public void setUpdate(boolean update)
public java.lang.String getWar()
public void setWar(java.lang.String war)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractCatalinaTask
org.apache.tools.ant.BuildException
- if an error occursCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.