On 6/19/2011 9:32 AM, Yuriy Akopov wrote:
For 3.2, I can't see a similar build option. First, there is no release-3.2 folder, so I
tried to checkout http://svn.apache.org/repos/asf/lucene/dev/trunk supposing this is the
latest stable release (and I might be wrong there). However, there is no
"dist-war" build option and I only get various jar files when building that
branch with no war file at all.
I don't know the answer to your first question about Tika, but I can
tackle the second.
In the checked out lucene (either trunk or one of the 3.x branches)
source is a solr/ directory. You just cd into that directory, and
dist-war becomes a build option. I tend to build solr with "ant dist"
which also builds all the contrib jars. If you are using the
dataimporthandler, you'll want the contrib jars. DIH has always been a
contrib module, and in 3.1 it was removed from the .war file.
Building dist succeeds, but I just tried dist-war on my checked out 3.2
and it failed, ending with the following error:
BUILD FAILED
/opt/ncindex/src/orig_3_2/solr/build.xml:620:
/opt/ncindex/src/orig_3_2/solr/build/web not found.
Shawn