This is what I just stuck in my Solr SVN checkout, so I can build + deploy the 
app:

rm -rfv /usr/local/jetty/work/* && \
ant dist-war && \
cp dist/solr-1.0.war /usr/local/jetty/webapps/solr.war
pushd /usr/local/jetty/ && \
java -classpath `/simpy/bin/addjars /usr/local/jetty/lib`:`/simpy/bin/addjars 
/usr/local/jetty/ext` \
-Dsolr.solr.home=/tmp/solr-nightly/example/solr -DDEBUG -DDEBUG_VERBOSE=1 
-Djetty.home=/usr/local/jetty -Dfile.encoding=UTF-8 -server 
org.mortbay.jetty.Server /usr/local/jetty/etc/jetty.xml ; popd

/simpy/bin/addjars is just a shell script that puts all Jars from the given dir 
in a path:like:this

I downloaded the recent nightly build and unpacked it in /tmp/solr-nightly, so 
I then just used that to set solr.solr.home system property with 
"-Dsolr.solr.home=/tmp/solr-nightly/example/solr"

This is not ideal though, as every time I make a change I need to run this, 
remove old files, build a war, deploy it, and wait a few seconds for Jetty to 
unpack it.

How are people who are actively working on Solr doing this?  Yonik, Hoss, 
Mike...?  What's your setup like?

Thanks,
Otis


----- Original Message ----
From: netsql <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Sunday, October 29, 2006 4:15:25 PM
Subject: downloaded wars can't deploy

I tried all the downloadable version (4) and in 3 different containers,
including Jetty.

I deployed the war file from /dist folder.

At start up of each container it said it can't find some solar.config files
and the they barfed.
Are people able to use solr today?
If so how?

tia,
.V



Reply via email to