On Jul 6, 2010, at 3:44pm, Chris Hostetter wrote:
: Can you try "ant compile example"?
: After Lucene/Solr merge, solr ant build needs to compile before
example
: target.
the "compile" target is already in the dependency tree for the
"example"
target, so that won't change anything.
At the moment, the "nightly" snapshots produced by hudson only
iclude the
"solr" section of the "dev" tree -- not modules or the lucene-java
sections . The compiled versions of thothat code is included, so
you can
*run* solr from the hudson artifacts, but aparently you can't
compile it.
(this is particularly odd since the nightlies include all the compiled
lucene code as jars in a "lucene-libs/" directory, but the build
system
doesn't seem to use that directory ... at least not when compiling
solrj).
This is all side effects of trunk still being somewhat in transition
--
there are kinks in dealing with the artifacts of the nightly build
process
tha still need worked out, -- but if your goal is to compile things
yourself, then you might as well just check out the entire trunk and
use
that compile fro mthat anyway.
Note that you'll need to "ant compile" from the top of the lucene
directory first, before trying any of the solr-specific builds from
inside of the /solr sub-dir. Or at least that's what I ran into when
trying to build a solr dist recently.
-- Ken
--------------------------------------------
Ken Krugler
+1 530-210-6378
http://bixolabs.com
e l a s t i c w e b m i n i n g