[Building Sakai] Chat Tool
Adrian Fish
a.fish at lancaster.ac.uk
Mon Oct 3 04:09:15 PDT 2011
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
>>>
--
==================================
Adrian Fish
Software Engineer
B66 Management School
Lancaster University
Lancaster
LA1 4YW
http://www.sakaiproject.org
http://confluence.sakaiproject.org/display/YAFT/Yaft
http://confluence.sakaiproject.org/display/CLOG/Home
http://confluence.sakaiproject.org/display/BBB/Home
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: floating_chat.patch
Url: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111003/21f003ee/attachment.pl
More information about the sakai-dev
mailing list