Sakai Version compatibility
The build instructions for the SCORM Tool differ slightly according to the version of Sakai you are building. The main distinction occurs between versions prior to Sakai Version 2.2 and those afterward. If you already have the SCORM Tool source, check the project.properties file in the root of the tool's source tree for the property 'scorm.runtime.version' ... this version will roughly correspond to the Sakai version that is required.
The last version of the SCORM Tool that works with Sakai v2.1.2 is, understandably, version 2.1.2. Make sure you have this version by checking for a tag '2-1-2' here: https://source.sakaiproject.org/contrib/scorm/runtime_tool/tags (if there is no such tag there, then its not there yet...just use trunk...move up one level: https://source.sakaiproject.org/contrib/scorm/runtime_tool/trunk)
All examples are Linux command line examples
Sakai source
- Check out the Sakai source from the subversion repository. Refer to the documentation for the Sakai release. The lastest Sakai release docs are here http://www.sakaiproject.org/release
Sakai subversion checkout
svn co https://source.sakaiproject.org/svn/tags/sakai_2-1-2/
SCORM Tool source
- Check out the SCORM Tool source from the subversion repository.
SCORM TOOL subversion checkout
svn co https://source.sakaiproject.org/contrib/scorm/runtime_tool/branches/2-1-2/ scormrte
Up to the point in time when the above 2-1-2 branch for the SCORM Tool is created, you can use
svn co https://source.sakaiproject.org/contrib/scorm/runtime_tool/trunk/ scormrte
SVN:EXTERNALS property
*Modify the svn:externals property for the Sakai source root to include the SCORM Tool source
You may need to set your SVNEDITOR or EDITOR shell variable to the text editor of your choosing
setenv EDITOR vi cd scormte svn propedit svn:externals .
The dot (".") in the last line must be included
- Add the following line (subsituting the appropriate svn repository path):
scormrte https://source.sakaiproject.org/contrib/scorm/runtime_tool/branches/2-1-2
- ... save and quite the editor
[Optional] The Eclipse externals file
- If you are using Eclipse , you may want to add the same line above to the file .externals in the same directory
Update
- Update the local subversion repository
update the local svn repo
svn update
- ... you should see subversion checking for the scormrte external, then checking out a bunch of files.
add alternate Maven remote repository
- Some special dependencies for the SCORM Tool are stored in a Maven 'Remote Repository' at UC Davis. The repository URL below should be included in your build.properties file. There is a sample copy of a build.properties file inlcuded in root directory of the SCORM Tool source called 'build.properties.sample'
Additional Maven 'remote repository'
http://svn.ucdavis.edu/maven/
The trailing slash ('/') is critical. This is true in all cases with Maven: not just the SCORM Tool