tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Cheesman <jch...@msl.es>
Subject Re: using ant for web-app deployment
Date Tue, 17 Apr 2001 10:11:08 GMT
At 11:19 AM 4/17/2001, you wrote:
>I want to use Ant for deployment of a web-app into a tomcat 4.0 instance
>that initially doesn't know about the web-app, thus there is not Context
>section for that web-app in server.xml. Thus it's not enough to simply
>create / copy a web-application directory under
>jakarta-tomcat-4.0/webapps.
>
>Does anyone have any working example of how to automatically alter the
>server.xml file to include a newly added web-application?
>
>--
>- Torgeir


Aren't war files (.war) recognized automagically? (I could be wrong 
here...) If so, generating one would do the job for you. There's an ant 
task that does this.


Jim


--

                           *   Jim Cheesman   *
             Trabajo: jchees@msl.es - (34)(91) 724 9200 x 2360
               Personal: mogrim@arrakis.es (34) 606 770 244
              Practice safe eating -- always use condiments.














Mime
View raw message