ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Moodie <>
Subject Re: deployment of web app
Date Wed, 01 Jun 2005 17:38:45 GMT

What the previous reply meant was that the WEB-INF folder should not be 
in the bluegrass folder. It should be in the root folder of your 

Also, if you are using the default Tomcat set-up, you do not need to use 
the manager application. If your WAR is valid, Tomcat will deploy it. 
The relevant attribute on the host element is autoDeploy. Set it to true 
to deploy applications automatically.

You can deploy the webapp using Ant if you want. Copy 
$CATALINA_HOME/server/lib/catalina-ant.jar to $ANT_HOME/lib and add the 
following task definition to your build file:

<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"/>

Then you can use it as follows:

<deploy url="${manager.url}"

If your file is valid (i.e. it has WEB-INF at the root) Ant will deploy it.

Matt wrote:
> I have the correct file structure from what I can tell...It must be 
> something in one of my .xml files, I just do not know how to handle them

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message