Re: example .java to start jetty with solr

2007-01-29 Thread Chris Hostetter
: program. I can't use java -jar start.jar because it spawns a new : process, I need to find the actual java code to set it up. I've tried : setting up the Jetty Server() and doing the addWebApplication() thing : but while Jetty starts, it does not seem to find all the support : files for Solr. t

example .java to start jetty with solr

2007-01-28 Thread Brian Whitman
Does anyone have a "solr launcher" .java file that: 1) instantiates jetty & sets its port, 2) sets some solr parameters (location of war file, location of data directory, etc), 3) launches jetty with solr as a context? I would like to call Jetty/Solr from a a Java bridge and have it exit