tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: tomcat deployment
Date Tue, 30 Apr 2002 15:44:32 GMT

On Tue, 30 Apr 2002, Oki DZ wrote:

> Date: Tue, 30 Apr 2002 14:31:13 +0700
> From: Oki DZ <>
> Reply-To: Tomcat Users List <>
> To: Tomcat Users List <>
> Subject: Re: tomcat deployment
> On 04/30 13:50 Nathan Coast wrote:
> > does this work for updates to the war file?  If I update the war file 10 times,
> > will re-copying the file to the webapps directory re-deploy the webapp?
> You need to delete the directory of your webapp; it wouldn't be that
> hard. In addition to copying the war file, the ant target should delete
> the directory particular to the war file.
> I think it would be nicer if you could deploy the webapp directly using
> ant; so instead of by creating a war file and let Tomcat to deploy it,
> you could just copy the modified servlets into the context directory.
> Then use the "reload" feature of the particular context (defined in
> server.xml); Tomcat would know the newer servlets and load them
> accordingly.

See the custom Ant tasks that are supported in the nightly builds, and
will be released in Tomcat 4.1, for precisely this feature.  The custom
tasks interact with the Manager webapp, and can do basically everything
you can do with the Manager webapp directly.

> Oki


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message