Information
- This document explains how to install the import/migration tool for Sakai 2.2.
Installation
- Get command line access to your Sakai 2.2 source directory
- Checkout the import code from the location below into your source directory root
Run the following SVN command in the sakai source root directory to checkout the migration codesvn co https://source.sakaiproject.org/contrib/migration/import/trunk/import import
- This will create the import directory
- You can update this code later if needed by running svn update in the import directory
- Update the site-manage code to use the import code
- Export the code changes from contrib/migration
Run the following SVN command in the sakai source root directory to export the site-manage changessvn export https://source.sakaiproject.org/contrib/migration/import/trunk/site-manage/ --force
- WARNING: This will overwrite some files and take them out of svn control
- Export the code changes from contrib/migration
- Run maven sakai from the sakai source root directory to rebuild and deploy sakai 2.2
- startup Sakai

Samigo dependency
Unfortunately, there is a dependency in the import code on a feature of Samigo that is not available in Sakai 2.2.x. You should either install Sakai r14325, which adds the Samigo QTI service, or remove references to the Samigo dependency in the import code. This is done by deleting impl/src/java/org/sakaiproject/impl/handlers/SamigoHandler.java and removing the Samigo dependencies in impl/project.xml and pack/project.xml
Testing to see if import works
- Login to your running Sakai instance as admin
- Use Worksite Setup to create a new project site
- Make sure you select all of the tools for content you are planning to import
- At least choose Resources
- Select the Site Info tool in the new site
- Choose Import from File at the top
- Browse for an export file in one of the appropriate formats
- Make sure the export file has content that lines up with the tools in the course
- Click Import to import the file into the course
- Check your site tools for imported content
Uninstall
- Get command line access to your Sakai 2.2 source directory
- Remove the import directory from your Sakai 2.2 source directory
- Remove the site-manage directory from your Sakai 2.2 source directory
- Run svn update to reimport a clean version of site-manage
- Run maven sakai from the sakai source root directory to rebuild and deploy sakai 2.2
Copyright
|