Thanks. I finally patched it (I think). I got the source from SVN and
applied the patch using a windows port. A caveat to those to want to
do this on windows - open the file in wordpad and save it as a
different file to replace unix line breaks with DOS line breaks.
Otherwise, the patch program gives an error:

Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

Now, that I have patched it (as far as I can tell) how do I build the
sources :D (sorry I know it's a basic question but I have no idea how
to do this)

- Moazzam

On Tue, Jun 15, 2010 at 1:14 PM, Nagelberg, Kallin
<knagelb...@globeandmail.com> wrote:
> I'm pretty sure you need to be running the patch against a checkout of the 
> trunk sources, not a generated .war file. Once you've done that you can use 
> the build scripts to make a new war.
>
> -Kallin Nagelberg
>
> -----Original Message-----
> From: Moazzam Khan [mailto:moazz...@gmail.com]
> Sent: Tuesday, June 15, 2010 1:53 PM
> To: solr-user@lucene.apache.org
> Subject: Help patching Solr
>
> Hey guys,
>
> Does anyone know how to patch stuff in Windows? I am trying to patch
> Solr with patch 238 but it keeps erroring out with this message:
>
>
>
> C:\solr\example\webapps>patch solr.war ..\..\SOLR-236-trunk.patch
> patching file solr.war
> Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
>
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
>
> Thanks in advance
>
> Moazzam
>

Reply via email to