lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew May <a...@ingenta.com>
Subject Re: Simplest way to load a custom RequestHandler in Jetty?
Date Tue, 29 Aug 2006 13:28:45 GMT
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

Mime
View raw message