Erik Hatcher wrote:
 > Why not deconstruct the WAR?

Alternatively you can just update the WAR directly which is what I'm doing to add in a custom TokenFilter I wrote:

<copy file="${lib.dir}/deploy/solr.war" todir="${build.dir}"/>

<war destfile="${build.dir}/solr.war" update="true">
  <lib dir="${build.dir}">
    <include name="icebox-solr.jar"/>
  </lib>
</war>

Here's the Jetty FAQ entry on Hot-Deploy:
http://jetty.mortbay.org/jetty5/faq/faq_s_200-General_t_HotDeploy.html

Basically the raw Jetty doesn't have any Hot deployment mechanisms built in, but it does hot deploy when embedded in other things (e.g. Jetty, Geronimo).

-Andrew

Reply via email to