Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 soon at this repository address :

Tip
titleCheckout the OpenSyllabus code with Subversion

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
titleDownload GWT

It GWT library is available here:.
GWT version 1.5.1+ is mandatory.

4)Create an environment variable called GWT_HOME which is pointing

The GWT_HOME environment variable must point to your GWT installation directory.

Considering <path>, the path to the GWT installation directory

Tip
titleCreate GWT_HOME environment variable

Considering <path>, the path to the GWT installation directory

Windows: Via the Control Panel -> System -> Advanced -> Environment Variables -> System Variables -> New
and type GWT_HOME and the <path> in the appropriate fields

Linux (Bourne, Bash, and related shells):
export GWT_HOME=<path>

...

6)Install the Sakai's properties file into TOMCAT subdirectory

...

Considering <TOMCAT_HOME>, the path to the TOMCAT installation directory

Tip
titleInstall Sakai's properties file

If you are installing Sakai 2.5 you must create a subdirectory <TOMCAT_HOME>/sakai
and put this Sakai.properties file in it.

...

7)Next, you have to compile the JCR module first

Considering <SAKAI_HOME>, the path to the Sakai installation directory
Use this MAVEN command from the Sakai's base directory (i.e. <SAKAI_HOME>)

Considering <SAKAI_HOME>, the path to the Sakai installation directory
Tip
titleCompile the JCR module

cd <SAKAI_HOME>
cd jcr
mvn clean install -Dmaven.test.skip=true

8)Then compile and deploy Sakai for the first time with this command :

...

Considering <TOMCAT_HOME>, the path to the TOMCAT installation directory

Tip
titleCompile the Sakai project

cd ..
mvn clean install sakai:deploy -Pmini -Dmaven.test.skip=true -Dmaven.tomcat.home=<TOMCAT_HOME>

9)For subsequent compilations and deployment, you can use this command :

...

Considering <TOMCAT_HOME>, the path to the TOMCAT installation directory

Tip
titleFurther compilation of the Sakai project

mvn install sakai:deploy -Dmaven.test.skip=true -Dmaven.tomcat.home=<TOMCAT_HOME>

...