Versions Compared

Key

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

...

Tip
titleCreate GWT_HOME environment variable

Considering <path>, the Path 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>

...

Tip
titleInstall the google-web-toolkit-incubator

GWT incubator library can be download from here

Put the gwt-incubator_1-4_final.jar into your GWT base directory (i.e. GWT_HOME)

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

Tip
titleInstall Sakai's properties file

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

If you are installing Sakai 2.5 you must create a

...

subdirectory <TOMCAT_

...

HOME>/sakai
and put this Sakai.properties file in it.

Warning
titleCheck and Edit Sakai's properties file

Make sure that

...

the Sakai.properties file contains the right

...

information
about your own Sakai database configuration.

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

Use this MAVEN command from the Sakai base directory :'s base directory (i.e. <SAKAI_HOME>)

Tip
titleCompile the JCR module

Considering <SAKAI_HOME>, the path to the Sakai installation directory

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 :

Tip
titleCompile the Sakai project

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

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 :

Tip
titleFurther compilation of the Sakai project

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

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

...

<TOMCAT_HOME>

Anchor
EclipseConfig
EclipseConfig

...

Add a path to the gwt-incubator_1-4_final.jar library

Anchor
CodeStructure
CodeStructure

...