On Jun 18, 2010, at 2:56 PM, Ken Krugler wrote:
Your wish is my command. Check out trunk, fire up Solr (ant run-
example), index example data, hit http://localhost:8983/solr/browse
- type in search box.
That works - excellent!
Now I'm trying to build a distribution from trunk that I can use for
prototyping, and noticed a few things...
1. From a fresh check-out, you can't build from the trunk/solr sub-
dir due to dependencies on Lucene classes. Once you've done a top-
level "ant compile" then you can cd into /solr and do ant builds.
sigh. Hopefully we'll shake these things out better over time. This
is just one of the growing pains of the lucene/solr merge.
2. I noticed the run-example target in trunk/solr/build.xml doesn't
have a description, so it doesn't show up with ant -p.
Fixed. It was/is at least documented in the usage (just type ant).
3. I tried "ant create-package" from trunk/solr, and got this error
near the end:
/Users/kenkrugler/svn/lucene/lucene-trunk/solr/common-build.xml:
252: /Users/kenkrugler/svn/lucene/lucene-trunk/solr/contrib/
velocity/src not found.
I don't see contrib/velocity anywhere in the Lucene trunk tree.
Ok, I'm looking into this and will clean it up. Darn you maven!
What's the recommended way to build a Solr distribution from trunk?
Good question. Anyone...? :)
You've done it as I have, sorry for the too brief instructions earlier
- I have run "ant compile" from the top, but didn't realize it was
necessary first.
Erik