...
- Download the Sakai Source
- http://cvs.sakaiproject.org/release/1.05.0/src/sakai-src.zip
- Unzip to directory of choice (assume c:\sakai-dev)
- Download and install Java J2SE SDK version 1.4.2 or later
- http://java.sun.com/j2se/1.4.2/download.html
- Right Click My Computer, Properties, Advanced, Environment Variables
- Add the system variable JAVA_HOME and set it to c:\j2sdk1.4.2_06 (the default install dir for the SDK)
- Download and install Tomcat version 5.0.28 or greater (Stay within the 5.0 series, as 5.5 requires a different version of the Java SDK)
- http://jakarta.apache.org/site/binindex.cgi
- Assume c:\Tomcat
- Rename the c:\Tomcat\webapps\ROOT directory to \ROOT2
- Download and install Maven
- http://maven.apache.org/
- Create a file named build.properties in the Windows Home directory (c:\Documents and Settings\userid) and include the following: (NOTE that the slashes in the tomcat directory are forward slashes and that the entry requires a trailing slash)
No Format maven.repo.remote = http://www.ibiblio.org/maven/,http://cvs.sakaiproject.org/maven/ maven.tomcat.home = c:/Tomcat/
- Add the maven /bin directory to the system variables path
- Right Click My Computer, Properties, Advanced, Environment Variables
- Select the System variable Path and add C:\Program Files\Apache Software Foundation\Maven 1.0.1\bin to the end. Separate entries with asemi-colon.
- Log off of the computer and log back on to reset system and environment variables.
- From the command line, navigate to the Sakai source directory
- If updating from an older version, clean out the environment
No Format maven clean_env
- Build Sakai
No Format maven maven reg maven conf_db maven tomcat_context_windows
- Copy files from c:\sakai-dev\reference\src\usr_local_sakai\ to c:\usr\local\sakai
...