How to update individual files in a war file

Posted by ziggy on Stack Overflow See other posts from Stack Overflow or by ziggy
Published on 2010-06-09T17:12:06Z Indexed on 2010/06/09 17:12 UTC
Read the original article Hit count: 296

Filed under:

Hi guys,

I am doing some research in the way i can deploy an application efficiently using a war file. What i currently do is i deliver the war file everytime there is a release.

This means everytime there is a change no matter how small the change is i have to build and deliver all files that make up the application. I am thinking that maybe this is not the correct way to do this.

For example if there is a change to a css file i have to rebuild the war file which will include all file. This includes recompiling all *.java files as well.

In the above example, is it possible to build a war file with just the css file and deploy it to the tomcat server and have Tomcat just replace the css file and leave everything else as is?

© Stack Overflow or respective owner

Related posts about tomcat