Hello,

I would like to build Solr with  the July 12th Solr-3076 patch.   How do I
determine what version/revision of Solr I need to check out to build this
patch against?   I tried using the latest branch_4x and got a bunch of
errors.  I suspect I need an earlier revision or maybe trunk.  This patch
also seems to be created with git instead of svn, so maybe I am doing
something wrong.  (Error messages appended below)


Tom


branch_4x
Checked out revision 1483079

patch -p0 -i SOLR-3076.patch --dry-run
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/lucene/module-build.xml b/lucene/module-build.xml
|index 62cfd96..2a746fc 100644
|--- a/lucene/module-build.xml
|+++ b/lucene/module-build.xml
--------------------------

Tried again with the git patch command
 patch -p1 -i SOLR-3076.patch --dry-run
patching file lucene/module-build.xml
Hunk #1 succeeded at 433 (offset 85 lines).
patching file solr/common-build.xml
Hunk #1 FAILED at 89.
Hunk #2 FAILED at 134.
Hunk #3 FAILED at 151.
3 out of 3 hunks FAILED -- saving rejects to file solr/common-build.xml.rej
patching file
solr/core/src/java/org/apache/solr/handler/UpdateRequestHandler.java
...
lots of more failed messages

Reply via email to