[Building Sakai] [Buidling Sakai] Assignment2 prepare_for_28_sakai.sh problem

Steve Swinsburg steve.swinsburg at gmail.com
Tue Jul 31 01:57:46 PDT 2012


Hi Jehan,

Quite a few blocks of the patch file (hunks) have failed to be applied. So you need to go into the original file and the one that ends in .rej, and manually merge in the portion from the rej file into the original file.

Cheers,
Steve

Sent from my iPad

On 31/07/2012, at 17:58, Jehan Badshah <jehan.badshah at nu.edu.pk> wrote:

> HI
> 
> When I execute prepare_for_28_sakai.sh then getting following errors, 
> any one can tell me what is problem or patch is successfully applied
> 
> 
> Hunk #1 succeeded at 114 with fuzz 2 (offset 30 lines).
> Hunk #2 succeeded at 162 with fuzz 2 (offset 2 lines).
> Hunk #3 succeeded at 227 with fuzz 2 (offset -1 lines).
> Hunk #4 FAILED at 277.
> Hunk #5 FAILED at 301.
> Hunk #6 FAILED at 335.
> Hunk #7 succeeded at 332 with fuzz 2 (offset -42 lines).
> 3 out of 7 hunks FAILED -- saving rejects to file impl/src/java/org/sakaiproject/assignment2/taggable/impl/AssignmentActivityProducerImpl.java.rej
> patching file impl/src/java/org/sakaiproject/assignment2/logic/impl/ExternalTaggableLogicImpl.java
> Hunk #1 FAILED at 77.
> Hunk #2 FAILED at 99.
> Hunk #3 FAILED at 111.
> 3 out of 3 hunks FAILED -- saving rejects to file impl/src/java/org/sakaiproject/assignment2/logic/impl/ExternalTaggableLogicImpl.java.rej
> patching file tool/src/java/org/sakaiproject/assignment2/tool/producers/renderers/AsnnTagsRenderer.java
> Hunk #1 FAILED at 103.
> 1 out of 1 hunk FAILED -- saving rejects to file tool/src/java/org/sakaiproject/assignment2/tool/producers/renderers/AsnnTagsRenderer.java.rej
> Removing edit points functionality ...
> patching file impl/src/test/org/sakaiproject/assignment2/logic/test/stubs/GradebookServiceStub.java
> Hunk #1 FAILED at 895.
> 1 out of 1 hunk FAILED -- saving rejects to file impl/src/test/org/sakaiproject/assignment2/logic/test/stubs/GradebookServiceStub.java.rej
> patching file impl/src/java/org/sakaiproject/assignment2/logic/impl/ExternalGradebookLogicImpl.java
> Hunk #1 FAILED at 52.
> Hunk #2 FAILED at 414.
> Hunk #3 FAILED at 932.
> 3 out of 3 hunks FAILED -- saving rejects to file impl/src/java/org/sakaiproject/assignment2/logic/impl/ExternalGradebookLogicImpl.java.rej
> patching file impl/src/java/org/sakaiproject/assignment2/logic/impl/AssignmentLogicImpl.java
> Hunk #1 FAILED at 481.
> 1 out of 1 hunk FAILED -- saving rejects to file impl/src/java/org/sakaiproject/assignment2/logic/impl/AssignmentLogicImpl.java.rej
> patching file api/src/java/org/sakaiproject/assignment2/model/Assignment2.java
> Hunk #1 FAILED at 76.
> Hunk #2 FAILED at 835.
> 2 out of 2 hunks FAILED -- saving rejects to file api/src/java/org/sakaiproject/assignment2/model/Assignment2.java.rej
> patching file api/src/java/org/sakaiproject/assignment2/logic/ExternalGradebookLogic.java
> Hunk #1 FAILED at 33.
> Hunk #2 FAILED at 511.
> 2 out of 2 hunks FAILED -- saving rejects to file api/src/java/org/sakaiproject/assignment2/logic/ExternalGradebookLogic.java.rej
> patching file tool/src/java/org/sakaiproject/assignment2/tool/beans/Assignment2Validator.java
> Hunk #1 FAILED at 26.
> Hunk #2 FAILED at 88.
> 2 out of 2 hunks FAILED -- saving rejects to file tool/src/java/org/sakaiproject/assignment2/tool/beans/Assignment2Validator.java.rej
> patching file tool/src/java/org/sakaiproject/assignment2/tool/producers/AssignmentProducer.java
> Hunk #1 FAILED at 502.
> 1 out of 1 hunk FAILED -- saving rejects to file tool/src/java/org/sakaiproject/assignment2/tool/producers/AssignmentProducer.java.rej
> patching file tool/src/webapp/content/js/assignment.js
> Hunk #1 FAILED at 60.
> Hunk #2 FAILED at 458.
> Hunk #3 FAILED at 477.
> 3 out of 3 hunks FAILED -- saving rejects to file tool/src/webapp/content/js/assignment.js.rej
> patching file tool/src/webapp/content/templates/assignment.html
> Hunk #1 FAILED at 250.
> 1 out of 1 hunk FAILED -- saving rejects to file tool/src/webapp/content/templates/assignment.html.rej
> patching file impl/src/test/org/sakaiproject/assignment2/logic/test/stubs/GradebookServiceStub.java
> Hunk #1 FAILED at 42.
> 1 out of 1 hunk FAILED -- saving rejects to file impl/src/test/org/sakaiproject/assignment2/logic/test/stubs/GradebookServiceStub.java.rej
> 
> 
> 
> 
> Regards
> ----------------------------------------------------
> Jehan Badshah | Sr. Software Engineer & Team Lead
> Sakai Learning and Teaching Enviornment
> National University of Computer and Emerging Sciences
> A.K. Brohi Road, H-11/4, Islamabad
> UAN: +92 (0)51 - 111 128 128 ext 344
> 
> 
> _______________________________________________
> 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120731/315dce0e/attachment.html 


More information about the sakai-dev mailing list