Package org.apache.catalina.ant
package org.apache.catalina.ant
This package contains a set of Task implementations for
Ant (version 1.6.x or later) that can be used to interact with the
Manager application to deploy, undeploy, list, reload, start and stop web applications
from a running instance of Tomcat.  For more information, see
https://tomcat.apache.org/tomcat-10.1-doc/manager-howto.html.
The attributes of each task element correspond exactly to the request parameters that are included with an HTTP request sent directly to the Manager application. They are summarized as follows:
| Attribute | Description | 
|---|---|
| url | The URL of the Manager web application you will use to
      perform the requested operations.  If not specified, defaults to http://localhost:8080/manager/text(which corresponds
      to a standard installation of Tomcat 7). | 
| username | The username of a Tomcat user that has been configured with the manager-scriptrole, as required to execute Manager
      application commands.  This attribute is required. | 
| password | The password of a Tomcat user that has been configured with the manager-scriptrole, as required to execute Manager
      application commands.  This attribute is required. | 
| config | A URL pointing at the context configuration file (i.e. a file
      containing only the <Context>element, and
      its nested elements, fromserver.xmlfor a particular
      web application).  This attribute is supported only on theinstalltarget, and is required only if you wish to
      install an application with non-default configuration characteristics. | 
| path | The context path (including the leading slash) of the web application
      this command is intended to manage, or a zero-length string for the
      ROOT web application.  This attribute is valid for the install,reload,remove,start, andstoptasks only, and is
      required in all of those cases. | 
| war | A jar:URL that points at a web application archive (WAR)
      file, or afile:URL that points at an unpacked directory
      containing the web application.  This attribute is supported only on
      theinstalltarget.  You must specify at least one of theconfigandwarattributes; if you specify
      both, thewarattribute overrides thedocBaseattribute in the context configuration file. | 
NOTE - Commands executed through the Manager
application are NOT reflected in updates to the Tomcat
server.xml configuration file, so they do not persist past the
next time you restart the entire Tomcat container.
- 
ClassesClassDescriptionAbstract base class for Ant tasks that interact with the Manager web application for dynamically deploying and undeploying applications.Abstract base class to add output redirection support for Catalina Ant tasks.Ant task that implements the/deploycommand, supported by the Tomcat manager application.Ant task that implements the/findleakscommand, supported by the Tomcat manager application.Ant task that implements the/statuscommand, supported by the mod_jk status (1.2.9) application.Ant task that implements the JMX Get command (/jmxproxy/?Ant task that implements the JMX Query command (/jmxproxy/?Ant task that implements the JMX Set command (/jmxproxy/?Ant task that implements the/listcommand, supported by the Tomcat manager application.Ant task that implements the/reloadcommand, supported by the Tomcat manager application.Ant task that implements the/resourcescommand, supported by the Tomcat manager application.Ant task that implements the/serverinfocommand supported by the Tomcat manager application.Ant task that implements the/sessionscommand supported by the Tomcat manager application.Ant task that implements the/sslConnectorCipherscommand supported by the Tomcat manager application.Ant task that implements the/startcommand, supported by the Tomcat manager application.Ant task that implements the/stopcommand, supported by the Tomcat manager application.Ant task that implements the/threaddumpcommand supported by the Tomcat manager application.Ant task that implements the/undeploycommand, supported by the Tomcat manager application.Task for validating a web application deployment descriptor, using XML schema validation.Ant task that implements the/vminfocommand supported by the Tomcat manager application.