On Tue, 30 Apr 2002, Oki DZ wrote:

> Date: Tue, 30 Apr 2002 14:31:13 +0700
> From: Oki DZ <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> 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

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to