...
- Download the source code from Subversion (choose the most recent tag in most circumstances):
Tags available here: https://source.sakaiproject.org/contrib/evaluation/tags/- If you are upgrading to version 1.2 there are significant DB changes that will require the evaluation tables to be dropped and recreated,
see the notes below for the commands to drop the tables (we do not have a migration script at this time) - If you want trunk then use the trunk directory instead and checkout with subclipse or use this command:
svn co https://source.sakaiproject.org/contrib/evaluation/trunk evaluation
- If you are upgrading to version 1.2 there are significant DB changes that will require the evaluation tables to be dropped and recreated,
- Put the source code into your sakai source directory in a folder called evaluation
- Add jobscheduler project if on a version of Sakai older than 2.4.x (required)
- NOTE: This is only required if you are on a version of Sakai older than 2.4.x, newer
versions of Sakai include this already, version must be a custom branch called aaronz_2-4-x
- NOTE: This is only required if you are on a version of Sakai older than 2.4.x, newer
- Checkout jobscheduler into your sakai source directory (use subclipse or the command below)
svn co https://source.sakaiproject.org/svn/jobscheduler/branches/aaronz_2-4-x jobscheduler - Build job scheduler using maven (mvn clean install sakai:deploy / maven sakai) from within the jobscheduler folder
See notes below related to the polling job.
- Checkout jobscheduler into your sakai source directory (use subclipse or the command below)
- Add entity broker project (required for Sakai versions older than 2.6, otherwise, you already have it)
- Checkout entity broker 1.3.3+ into your sakai source directory (use subclipse or the command below)
svn co https://source.sakaiproject.org/svn/entitybroker/tags/entitybroker-1.3.6/ entity-broker - Build entity broker using maven (mvn clean install sakai:deploy / maven sakai) from within the entity-broker folder
- Checkout entity broker 1.3.3+ into your sakai source directory (use subclipse or the command below)
- Add hierarchy project (required for trunk and eval 1.2+)
- Checkout hierarchy into your sakai source directory (use subclipse or the command below)
svn co https://source.sakaiproject.org/contrib/caret/hierarchy/tags/hierarchy-1.2.4/ hierarchy - Build hierarchy using maven (mvn clean install sakai:deploy / maven sakai) from within the hierarchy folder
- (maybe not necessary, but works for Sakai 2.6.2 and hierarchy 1.2.4) Adapt the parent version tag in hierarchy/pom.xml to your current Sakai version.
- Checkout hierarchy into your sakai source directory (use subclipse or the command below)
- If using trunk revision <= 67204 (maybe even for higher revisions) and Sakai 2.6.2. Do this also if you get some strange "dependencies.dependency.version missing" errors.
- Run the Kernel K1 conversion scripts from the evaluation directory: http://confluence.sakaiproject.org/display/DOC/Sakai+2.6+Contrib+Tool+Migration+Tips
- (maybe not necessary) Adapt the master and parent version tags in evaluation/pom.xml to 2.6.2 (or your current 2.6 version)
- evaluation/pom.xml: <sakai.version>2.6.2</sakai.version>
- evaluation/pom.xml: <version>2.6.2</version>
- As the evaluation system currently depends on Sakai 2.5.4, you may need to update the pom.xml files to reflect the sakai version you are using.
- Run maven sakai from within the evaluationfolder evaluation folder
The evaluation project can be built and deployed with Sakai 2.5.x, 2.6.x, 2.7.x, 2.8.x., or 2.9.x. This is enabled by use of maven profiles. For example, to do a full build of evaluation with Sakai 2.9, you might enter the following maven command on the command line:
No Format mvn clean install -D sakai2.9
- This will download all needed jars and compile the source code
- Maven 1 users: You may need to add the following repositories to your maven 1 build.properties to get all needed jars:
For example: Your build.properties should have this line (or something like it)
No Format maven.repo.remote = http://source.sakaiproject.org/maven/,http://www2.caret.cam.ac.uk/maven/,http://repo1.maven.org/maven/
- Start tomcat and check the log for errors, there should be none if all jars were downloaded and installed correctly
...