[Building Sakai] Question about how to patch

Sam Chow samchow at ln.edu.hk
Wed Mar 3 21:48:07 PST 2010


Dear Thomas,

When i G:\sakai-2.6.2\gradebook2>patch -p0 < sakai/2-6-x/gradebook2.patch

it return
Hunk #1 FAILED at 16.
Hunk #2 FAILED at 30.
2 out of 2 hunks FAILED -- saving rejects to file .classpath.rej
patching file shared/pom.xml
patching file
server/src/java/org/sakaiproject/gradebook/gwt/sakai/hibernate/Gra
debookToolServiceImpl.java
Reversed (or previously applied) patch detected!  Assume -R? [n]

Best Regards,
Sam


tpamsler wrote:
> 
> Can you please give us some more details on the error that you are
> getting? Also, please list all the exact commands that you are using.
> 
> Best,
> -- Thomas
> 
> 
> 
> 
> On Wed, Mar 3, 2010 at 8:45 PM, Sam Chow <samchow at ln.edu.hk> wrote:
>>
>>
>>
>> Sam Chow wrote:
>>>
>>> Dear all,
>>>
>>> I am trying gradebook 2 to integrate to my college cms. And there are
>>> some
>>> patch need to apply, but i dont konw how to do this, the command is
>>> something like patch -p0.
>>>
>>> What kind of application i need to use to apply those command.
>>>
>>> Many Thanks!
>>>
>>> Best Regards,
>>> Sam Chow
>>>
>>
>> Dear All,
>>
>> Finally, i install GnuWin32 for the patch program and download a software
>> to
>> convert LF to CRLF. When the first patch, it seems have some error. And
>> when
>> i mvn install Gradebook2, it fails.
>>
>> Best Regards,
>> Sam
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Question-about-how-to-patch-tp27764266p27776934.html
>> Sent from the Sakai - Development mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> 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"
>>
> _______________________________________________
> 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"
> 
> 

-- 
View this message in context: http://old.nabble.com/Question-about-how-to-patch-tp27764266p27777147.html
Sent from the Sakai - Development mailing list archive at Nabble.com.



More information about the sakai-dev mailing list