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