[Building Sakai] Patching a file get failed

Steve Swinsburg steve.swinsburg at gmail.com
Wed Jul 28 04:53:32 PDT 2010


Hi,

You need to find this line:
<xsl:for-each select="//respcondition/conditionvar/or/varequal" >

and replace it with this one:
<xsl:for-each select="//respcondition/conditionvar/*[name()='or']/varequal">

Note the - and +

If there are multiples of the first line, have a look at what is around it, and the line numbers,  to find the most appropriate.

cheers,
Steve

On 28/07/2010, at 5:53 PM, Ashish wrote:

> Hi:
> 
> I have run this command.
> 
> patch -p0  < e:\sakai\samlite.patch
> 
> E:\Sakai\sakai-src-2.7.0\sam>patch -p0  < e:\sakai\samlite.patch
> patching file samigo-api/src/java/xml/xsl/dataTransform/import/v1p2/extractItem.
> xsl
> Hunk #1 FAILED at 127.
> 1 out of 1 hunk FAILED -- saving rejects to file samigo-api/src/java/xml/xsl/dat
> aTransform/import/v1p2/extractItem.xsl.rej
> patching file samigo-services/src/java/org/sakaiproject/tool/assessment/facade/A
> ssessmentFacadeQueriesAPI.java
> patching file samigo-services/src/java/org/sakaiproject/tool/assessment/facade/A
> ssessmentFacadeQueries.java
> patching file samigo-services/src/java/org/sakaiproject/tool/assessment/services
> /assessment/AssessmentService.java
> patching file samigo-qti/src/java/org/sakaiproject/tool/assessment/services/qti/
> QTIService.java
> Hunk #1 succeeded at 70 (offset 3 lines).
> patching file samigo-qti/src/java/org/sakaiproject/tool/assessment/qti/helper/Au
> thoringHelper.java
> Hunk #1 succeeded at 494 with fuzz 2 (offset 21 lines).
> Hunk #2 succeeded at 516 with fuzz 2 (offset 21 lines).
> 
> 
> i got 3 files generated:
> extractItem.xsl.rej
> extractItem.xsl
> extractItem.xsl.orig
> 
> Can you tell me what suitable changes i need to do in these files to
> run patch successfully.
> 
> Thank you.
> Ashish Dave
> <extractItem.xsl.rej><extractItem.xsl><extractItem.xsl.orig>_______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list