[Building Sakai] Skin patch

Nkululeko Phakela nonkululeko.phakela at wits.ac.za
Mon Jan 30 23:28:01 PST 2012


Hi Diego,

In the kernel-deploy folder, when I run the patch with this command:

patch -p0 --dry-run < skinpatchKNL.diff

I get a message that it can't find file to patch at input line 5. It is
looking for this file, and I also couldn't find it,

kernel-impl/src/main/java/org/sakaiproject/site/impl/BaseSite.java

I'm using the 2.8.0 source.

What am I doing wrong? 

Warm Regards,
Nguni


On Mon, 2012-01-30 at 15:44 +0100, Diego del Blanco Orobitg wrote:
> Hi Nkululeko:
> 
> It works on Sakai 2.8. So you can unzip the file attached in the JIRA issue
> where are three patches that you must to apply in a standard way:
> 
> - In the kernel: Obviously you need the kernel code to do this and compile
> it and deploy.
> - In portal tool
> - In login tool. 
> 
> I don't know if your problem is with patches (you can read this
> http://linux.die.net/man/1/patch) or maybe the problem is another one.
> Please, ask anything you need.
> 
> 
> Diego del Blanco Orobitg
> Director de operaciones
> diego.delblanco at samoo.es
> Tlf Oficina: 673 80 32 69
> Tlf Móvil: 653 683 489
> www.samoo.es
> 
> 
> 
> 
> 
> -----Mensaje original-----
> De: sakai-dev-bounces at collab.sakaiproject.org
> [mailto:sakai-dev-bounces at collab.sakaiproject.org] En nombre de Nkululeko
> Phakela
> Enviado el: lunes, 30 de enero de 2012 15:05
> Para: Sakai-dev at collab.sakaiproject.org
> Asunto: [Building Sakai] Skin patch
> 
> Hi All,
> 
> I would like to display different skins depending on the url. I found a
> jira that addresses this. 
> 
> I am trying to apply a patch using the files that are in this jira:
> https://jira.sakaiproject.org/browse/KNL-860
> 
> How can I accomplish this? I don't know the steps that are required in
> order for me to do this successfully in sakai. Any tips would definitely
> be helpful. 
> 
> Kind Regards,
> Nguni
> 
> 

-- 
Nkululeko Phakela 
Software Developer 
011 717 7167 
eLearning Support and Innovation (eLSI) 
Witwatersrand University 
Braamfontein, Johannesburg
<html><p><font face = "verdana" size = "0.8" color = "navy">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.</font></p></html>



More information about the sakai-dev mailing list