[Building Sakai] How to create an app for sakai 2.7.1

Tin Nguyen nguyentrongtin89 at gmail.com
Thu Sep 30 03:14:41 PDT 2010


Hi Steve,
Thanks for your help. There are steps I do and all problems:

I create a project by sakai app builder 0.8.8 in eclipse 3.4.2 with the
information is:

 Project Name: example

Location: D:\sakai

Project Type: JSP.

Implementation: Full CRUD App

Option: Testing, EntityBroker.

Sakai version: Pre-K1(2.5.x)

Maven version: Maven 2.0.x

(I use version 2.5 because if use K1 (2.6.x++) when run “mvn clean install”,
it will show errors:

Missing:

----------

1) org.sakaiproject:sakai-tool-api:jar:M2

….

  Path to dependency:

        1) org.sakaiproject.tutorialv1:tutorialv1-tool:war:0.1

        2) org.sakaiproject:sakai-jsp-adapter:jar:0.8-M2

        3) org.sakaiproject:sakai-tool-api:jar:M2

2) org.sakaiproject:sakai-util:jar:2.6.0

….

  Path to dependency:

        1) org.sakaiproject.tutorialv1:tutorialv1-tool:war:0.1

        2) org.sakaiproject:sakai-util:jar:2.6.0

I try to fix it and I found in
http://collab.sakaiproject.org/pipermail/sakai-dev/2009-July/002850.html. I
do follow above instruction. And I only have an error about
org.sakaiproject:sakai-util:jar:2.6.0)

After that, I went to cmd, pointed to D:\sakai\example, and typed:

mvn clean install.

mvn sakai:deploy.

It work ok! But when I startup tomcat, I have a problem, the screen is stop
at:

……………………………………………………………………………........   destroy()

…..

INFO main org.sakaiproject.component.impl.BasicConfigurationService –
destroy()

2010/9/30 Steve Swinsburg <steve.swinsburg at gmail.com>

> Hi,
>
> Whats the error you are getting when you deploy the CRUD app?
>
> cheers,
> Steve
>
> On 30/09/2010, at 1:55 PM, Tin Nguyen wrote:
>
> > Dear all,
> > I have worked two days to create an application for sakai 2.7.1. I use
> sakai app bulider 0.8.8 to create a HelloWorld project, I deploy it to
> tomcat and it's ok.
> > But, when i try to create a Full CRUD app, and it don't suite for sakai
> 2.7.1, of course it doesn't work.
> > Would you like to tell me how to create an app for sakai 2.7.1? I also
> want to know can i use spring mvc to create my app?
> > _______________________________________________
> > 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/20100930/81ec24a2/attachment.html 


More information about the sakai-dev mailing list