You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by pr...@isac.gov.in on 2007/01/10 07:19:26 UTC

Executing Manager Commands With Ant.

Dear sir/Madam,

     For the ability to execute Manager commands via HTTP requests, as  
documented above, Tomcat 5 includes a convenient set of Task  
definitions for the Ant build tool. In order to use these commands,  
you must perform the following setup operations:

     * Download the binary distribution of Ant from  
http://ant.apache.org. You must use version 1.4 or later.
     * Install the Ant distribution in a convenient directory (called  
ANT_HOME in the remainder of these instructions).
     * Copy the file server/lib/catalina-ant.jar from your Tomcat 5  
installation into Ant's library directory ($ANT_HOME/lib).
     * Add the $ANT_HOME/bin directory to your PATH environment variable.
     * Configure at least one username/password combination in your  
Tomcat user database that includes the manager role.

To use custom tasks within Ant, you must declare them first with a  
<taskdef> element. Therefore, your build.xml file might look something  
like this:


    Question is-----> But i am not understanding where to place this  
file(build.xml) in the webapps/application directory.



   Bye
Pratap K.M

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org