...
For developers here is a quick tutorial on how to set OpenSyllabus project into Eclipse
Anchor | ||||
---|---|---|---|---|
|
Installation Guide
Installation and deployment of OpenSyllabus with Sakai 2.4/2.5 and GWT 1.5
1)First of all, a working installation of Sakai 2.4 or 2.5 is mandatory prior to install OpenSyllabus
Tip | ||
---|---|---|
| ||
see http://confluence.sakaiproject.org/confluence/display/BOOT/Development+Environment+Setup+Walkthrough) |
2)Next, using Subversion (SVN), perform a checkout of osyl (backend code) and osyl-core-gwt (frontend code) to the local Sakai repository. It will be available at this address :
Tip | ||
---|---|---|
| ||
svn://<coming soon>/opensyllabus/contrib/sakai/sakai-opensyllabus/trunk OR Unzip a special Sakai 2.5 archive ("le zip de Tom") and this OpenSyllabus archive in your local Sakai repository. |
3)You also need to install the Google Web Toolkit (GWT) library on your PC.
Tip | ||
---|---|---|
| ||
It is available here:. |
4)Create an environment variable called GWT_HOME and pointing to your GWT installation directory.
Tip | ||
---|---|---|
| ||
Considering <path> the Path to the GWT Directory Linux (Bourne, Bash, and related shells): |
5)Next, get and install the google-web-toolkit-incubator
In fact, OSYL uses some UI components (i.e. Calendar) from this library.
Look at this library to find some more cool GWT components.
This JAR is compatible with jvm 1.5+ and GWT version 1.5.1+ is mandatory.
Tip | ||
---|---|---|
| ||
It can be found here |
Tip | ||
---|---|---|
| ||
Put the gwt-incubator_1-4_final.jar into your GWT base directory (i.e. GWT_HOME) |
6)If you are installing Sakai 2.5 you must create a directory <tomcat_base>/sakai and put this Sakai.properties file in it. Make sure that it contains the right info about your Sakai database.
7)Next, you have to compile JCR first with this MAVEN command from Sakai base directory :
cd jcr
mvn clean install -Dmaven.test.skip=true
8)Then compile and deploy Sakai for the first time with this command :
cd ..
mvn clean install sakai:deploy -Pmini -Dmaven.test.skip=true -Dmaven.tomcat.home="path_to_tomcat"
9)For subsequent compilations and deployment, you can use this command :
mvn install sakai:deploy -Dmaven.test.skip=true -Dmaven.tomcat.home="path_to_tomcat"
Anchor | ||||
---|---|---|---|---|
|
...
Perhaps the greatest advantage of using GWT is having the capability to leverage advanced software engineering and use established Java integrated development environment (IDE).
We suggest to use the Eclipse IDE since it works very well and has support with GWT to help integration.
Create a configuration variable called GWT_HOME and pointing to your GWT installation directory.
Add a path to the gwt-incubator_1-4_final.jar
Anchor | ||||
---|---|---|---|---|
|
...