[Building Sakai] Skin patch

Diego del Blanco Orobitg diego.delblanco at samoo.es
Tue Jan 31 00:01:25 PST 2012


Hi Nkululeko:

I have in my PC 4 different Sakai codes from several projects with kernel 1.1.9, 1.2.2 and 1.2.6 and I have this file in all of them... 

And it's in the trunk too...

https://source.sakaiproject.org/svn/kernel/trunk/kernel-impl/src/main/java/org/sakaiproject/site/impl/

and in an older version too:

https://source.sakaiproject.org/svn/kernel/tags/kernel-1.1.1/kernel-impl/src/main/java/org/sakaiproject/site/impl/

So the file is in the kernel source code in all versions... Are you sure that you have downloaded the kernel SOURCE? When you download the 2.8.0 source, kernel source is not downloaded automatically and you need to do the svn co by yourself. Check the version you need and do it from https://source.sakaiproject.org/svn/kernel 

Surely that was the problem...

"Un saludo"

Diego.



-----Mensaje original-----
De: Nkululeko Phakela [mailto:nonkululeko.phakela at wits.ac.za] 
Enviado el: martes, 31 de enero de 2012 8:28
Para: Diego del Blanco Orobitg
CC: Sakai-dev at collab.sakaiproject.org
Asunto: Re: [Building Sakai] Skin patch

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>

-----
No se encontraron virus en este mensaje.
Comprobado por AVG - www.avg.com
Versión: 10.0.1416 / Base de datos de virus: 2109/4776 - Fecha de publicación: 01/30/12



More information about the sakai-dev mailing list