tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oki DZ <ok...@pindad.com>
Subject Re: tomcat deployment
Date Tue, 30 Apr 2002 07:31:13 GMT
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.

Oki

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message