It's failing because of difference in EOL in solr.xml. I fixed the xoai.diff file to account for that, find it attached. The rest patches successfully.
Regards, ~~helix84 On Fri, Nov 23, 2012 at 1:52 AM, Alain Tschanz <[email protected]> wrote: > I’m trying to add the XOAI add-on (lyncode-XOAI-DSpace-Addon-1.8.2-7b462ba) > to my 1.8.2 DSpace install, but keep getting an error message when I run the > patch script: > > > > > > ./install.sh ../dspace-1.8.2-src-release > > patching file dspace/config/launcher.xml > > patching file dspace/modules/pom.xml > > patching file dspace/pom.xml > > patching file dspace/solr/solr.xml > > Hunk #1 FAILED at 31. > > 1 out of 1 hunk FAILED -- saving rejects to file dspace/solr/solr.xml.rej > > patching file dspace/src/main/config/build.xml > > patching file pom.xml > > > > > > dspace/solr/solr.xml.rej > > > > --- dspace/solr/solr.xml > > +++ dspace/solr/solr.xml > > @@ -31,6 +31,7 @@ > > <cores adminPath="/admin/cores"> > > <core name="search" instanceDir="search" /> > > <core name="statistics" instanceDir="statistics" /> > > + <core name="xoai" instanceDir="xoai" /> > > </cores> > > > > </solr> > > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech >
xoai.diff
Description: Binary data
------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

