...
- Bring down new rSmart base source
Code Block cd /src/cle svn co https://svn.rsmart.com/svn/customizations/ucd/tags/2.8.7.24-ea1 rSmart-CLE-2.8.7.24-ea1-ucdtest
- Fix CAS
change the "cas.client.serviceParam" property to:Code Block cd /src/cle/rSmart-CLE-2.8.7.24-ea1-ucdtest/config/sakai-login-tool vi rsmart.properties
Code Block cas.client.serviceParam=https://smartsite-test.ucdavis.edu/xsl-portal/login
- Install/Fix mvn.sh
Verify skin_home setting:Code Block cp /src/cle/rSmart-CLE-2.8.7.24-ea1-ucdtest/config/mvn.sh /src/cle/rSmart-CLE-2.8.7.24-ea1-ucdtest/cle vi /src/cle/rSmart-CLE-2.8.7.24-ea1-ucdtest/cle/mvn.sh
Code Block skin_home=/src/cle/ucdtest-src-local/reference/library/src/webapp/skin
- Maven tweak
Code Block cd /src/cle/rSmart-CLE-2.8.7.24-ea1-ucdtest/config mkdir maven_profiles cd maven_profiles ln -s ../osp-* ../rsmart* ../sakai* ../samigo/ ../upgrade/ .
- Copy over GB2 patches dir: Note the copy statement bellow gets the patches directory from the previous version
This concludes the first method of setting up the code for rSmart.Code Block cd /src/cle/rSmart-CLE-2.8.7.24-ea1-ucdtest/cle cp -R /src/cle/<previous version>/cle/patches .
...
- Go to the directory where gradebook2 is located
Code Block cd /src/cle/rSmart-CLE-2.8.7.24-ea1-ucdtest/cle/
- Backup old gradebook2 directory
Code Block mv gradebook2 gradebook2-<today's data>
- Checkout the new gradebook2 tag
Code Block svn co https://source.sakaiproject.org/contrib/gradebook2/tags/<tag name> gradebook2
- Apply patch that changes the maven pom.xml version
Code Block cd gradebook2 patch -p0 < ../patches/pom.patch svn diff
- For now, we need to apply a GRBK-616 patch. For more details, please see UPGRADE-LOG.txt
At this point the code should be able to be built.Code Block patch -p0 < upgrade/gradebook2/GRBK-616.patch svn diff
...
- Shutdown Sakai
Now until the java process is dead, do:Code Block /home/ucdtest/cle/tomcat/bin/shutdown.sh
At some point you are going to get impatient and want to kill the process. Please try to wait at least 30 seconds. When you kill it, do:Code Block ps -ef | grep tomcat | grep ucdtest
Code Block kill -9 <procid>
Warning As its possible that this server may be running other java processes, do NOT killall -9 java or as such. Do a kill -9 on a proc id. The person running the extraneous java process will thank you for your discretion.
- Cleanup Tomcat directory.
You will:Code Block export CATALINA_STAGING=/home/ucdtest/cle/tomcat ~/bin/tomcatclean.sh
- Build/Deploy sakai
Code Block cd /src/cle/rSmart-CLE-2.8.7.24-ea1-ucdtest/cle/ ./mvn.sh tomcat install sakai:deploy -Psakai2.8
- Get setup to launch:
Code Block cd ~/cle/tomcat/logs/ mv catalina.out catalina.out.predeploy touch catalina.out tail -f catalina.out
...