[Building Sakai] Understanding Sakai tool source ?

Steve Swinsburg s.swinsburg at lancaster.ac.uk
Fri Jun 12 09:09:35 PDT 2009


Hi Phuc,

Spring looks for the file 'components.xml' in your component that you  
deploy to Sakai. This is the pack part of the tool. If you look at the  
components.xml from the AppBuildert, you'll see that the others (sakai- 
hibernate, spring-hibernate) are just includes.

Spring will also look for an applicationContext.xml in your tool  
webapp/WEB-INF for any 'tool' related beans you might have or  
dependencies you want to inject into your tool.

cheers,
Steve

---
Steve Swinsburg
Portal Systems Developer
Centre for e-Science
Lancaster University
Lancaster
LA1 4YT

email: s.swinsburg at lancaster.ac.uk
phone: +44 (0) 1524 594870







On 12 Jun 2009, at 17:01, Phuc Bui wrote:

> Dear all,
> I’m studying how to develop a tool in Sakai with Sakai App Plugin.
> I would like to ask how to define my own Spring file  
> configuration ?  Or I have to use 4 files : components.xml, sakai- 
> hibernate.xml, spring-hibernate.xml, applicationContext.xml
>
> Thanks,
> Phuc Bui
>
>
> _______________________________________________
> 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"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090612/5cd88281/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090612/5cd88281/attachment.bin 


More information about the sakai-dev mailing list