[Building Sakai] Chat Tool

Nkululeko Phakela nonkululeko.phakela at wits.ac.za
Mon Oct 3 04:14:45 PDT 2011


Hi Adrian,

Thank you for the reply. I'm still learning the ins and outs of
developing/modifying/adding new tools to Sakai. 

So I will do a checkout of the floating chat, followed by doing the
patch in the sakai source directory. Then I do mvn install sakai:deploy
after this? Then I will have my floating portal chat? I like it and
would definitely like to have it running on my instance.

Thanks again,
Nguni


On Mon, 2011-10-03 at 12:09 +0100, Adrian Fish wrote:
> I'll have a go ...
> 
> Patches in Sakai are based on Subversion diff files. If you check out 
> the Sakai source code, modify it and then type svn diff in the modified 
> directory, piping the output into a file called ngunis_changes.patch, 
> the file will detail the changes you made. Someone else can then take 
> that file and import the changes in their own copy of the Sakai source 
> code using the command:
> 
> patch -p0 < ngunis_changes.patch
> 
> The good thing about patching is that only certain areas of the target 
> file are modified, the rest stays the same as when you checked it out. 
> If you just replaced the target file completely with another version you 
> run the risk of getting an old, out of date source file.
> 
> Unless you code Sakai I suppose most of this will be making you scratch 
> your head. Don't, or you'll start going bald like me. I've attached the 
> patch file for you to have a play with.
> 
> First change into the root directory of your Sakai source code
> cd SAKAI_SRC
> 
> Then merge the patch in
> patch -p0 < floating_chat.patch
> 
> See how you go,
> 
> Cheers again,
> Adrian.
> 
> On 03/10/2011 11:53, Nkululeko Phakela wrote:
> > Hi Adrain,
> >
> > Thanks for the reply. I will take a look. I'm not yet sure how patches
> > work in Sakai. Could you advise?
> >
> > Cheers,
> > Nguni
> >
> > On Mon, 2011-10-03 at 11:37 +0100, Adrian Fish wrote:
> >> Hi Nguni,
> >>
> >> We are running a version of the 2.9 chat on our 2.8.x at Lancaster. It's
> >> more or less the same.
> >>
> >> The EB service code is here:
> >>
> >> https://source.sakaiproject.org/contrib/lancaster.ac.uk/sfcservice/trunk
> >>
> >> ... but you need patches for site.vm and the additional js files. I'll
> >> get a patch together and mail to the list later today.
> >>
> >> Cheers,
> >> Adrian.
> >>
> >> On 03/10/2011 09:10, Nkululeko Phakela wrote:
> >>> Hi,
> >>>
> >>> I noticed on this site: http://nightly2.sakaiproject.org:8082/portal (it
> >>> is down now) that there is a facebook like chat. I want to incorporate
> >>> this chat tool into my sakai instance. I'm running 2.8.0 using tomcat
> >>> 5.5. Where can I find the source for this?
> >>>
> >>> 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