|
TABLE OF CONTENTS 1. Overview 2. Set up Environment 3. Build and Deploy 4. Post-Installation Configuration 5. Database Configuration 6. Troubleshooting |
3. Build and DeploySakai uses Apache's Maven build tool to compile and deploy its modules.
3.1. Download SourceIf you haven't yet, download the Source archive from http://www.sakaiproject.org/release
3.2. Unpack SourceChoose a location to unpack the Sakai source (your home directory is fine), and when you unpack it you will see a directory named sakai-src. 3.3. Run MavenFrom within the sakai-src directory, run the command maven bld dpl
This will run for quite a few minutes with fairly verbose output, particularly when it's your first build. Maven will download any dependencies into the local repository, compile the Sakai code, and then deploy Sakai to Tomcat in the form of .war files in the $CATALINA_HOME/webapps directory. If Maven completes with the message BUILD SUCCESSFUL, you should be able to move on to the next step. If you are greeted with the report BUILD FAILED read the accompanying error message carefully to troubleshoot (see the Troubleshooting section).
You will probably be able to start up Tomcat and run Sakai with the default configuration at this point, but it would be better to take care of some basic post-installation configuration first. |
Comments (2)
Aug 14, 2007
Li Qing says:
Be sure to palce build.property to the root of source code folder. or start mave...Be sure to palce build.property to the root of source code folder.
or start maven with parameters
maven bld dpl -Dmaven.repo.remote=http://source.sakaiproject.org/maven/ -Dmaven.tomcat.home=c:/sakai/
Sep 09, 2007
Clay Fenlason says:
build.properties doesn't need to be at the root of the source folder; it's easie...build.properties doesn't need to be at the root of the source folder; it's easiest to just have it in your home directory, as indicated on the "Set Up Build Environment" section.