Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Preparation work

Create GB2 tag

svn copy https://source.sakaiproject.org/contrib/gradebook2/trunk/ https://source.sakaiproject.org/contrib/gradebook2/tags/1.3.0-b5 -m "NOJIRA : creating 1.3.0-b5 tag"

Create ucd-gradebook-ent tag

Prepare rsmart_2.6.2.13_b5 tag

svn copy https://svn.ucdavis.edu/svn/ucd-sakai/rsmart/trunk https://svn.ucdavis.edu/svn/ucd-sakai/rsmart/tags/rsmart_2.6.2.13_b5 -m "Initial cut of tag rsmart_2.6.2.13_b5"

svn copy https://svn.ucdavis.edu/svn/ucd-sakai/sakai-properties/branches/rsmart-sakai-properties https://svn.ucdavis.edu/svn/ucd-sakai/sakai-properties/tags/rsmart_2.6.2.13_b5 -m "Initial cut of tag rsmart_2.6.2.13_b5"

svn copy https://svn.ucdavis.edu/svn/ucd-sakai/patches/branches/rsmart_2-6-x/ https://svn.ucdavis.edu/svn/ucd-sakai/patches/tags/rsmart_2.6.2.13_b5 -m "Initial cut of tag rsmart_2.6.2.13_b5"

svn propedit svn:externals https://svn.ucdavis.edu/svn/ucd-sakai/rsmart/tags/rsmart_2.6.2.13_b5

src https://svn.rsmart.com/svn/customizations/ucd/tags/2.6.2.13
patches https://svn.ucdavis.edu/svn/ucd-sakai/patches/tags/rsmart_2.6.2.13_b5
gradebook2 https://source.sakaiproject.org/contrib/gradebook2/tags/1.3.0-b5

Check above propedit via:
svn propget svn:externals https://svn.ucdavis.edu/svn/ucd-sakai/rsmart/tags/rsmart_2.6.2.13_b5

ON TEST26 HEAD NODE

cd ~/config-staging
mv sakai.properties sakai.properties.previous
mv local.properties.base local.properties.base.previous
svn export https://svn.ucdavis.edu/svn/ucd-sakai/sakai-properties/tags/rsmart_2.6.2.13_b5/sakai.properties
svn export https://svn.ucdavis.edu/svn/ucd-sakai/sakai-properties/tags/rsmart_2.6.2.13_b5/local.properties.base

cd ~/src
rm -fr <oldest tag>
svn co https://svn.ucdavis.edu/svn/ucd-sakai/rsmart/tags/rsmart_2.6.2.13_b5 | tee ~/checkout.log

cd ~/src/rsmart_2.6.2.13_b5/src/cle/custom
mv ucd-gradebook2-ent ucd-gradebook2-ent.orig
svn co https://svn.ucdavis.edu/svn/ucd-sakai/ucd-gradebook2-ent/tags/1.2.0-b1/ ucd-gradebook2-ent

cd ~/src/rsmart_2.6.2.13_b5
./scripts/cfg.pl

Results (cfg.pl)

 

~/config-staging/tomcatclean.sh
cd ~/src/rsmart_2.6.2.13_b5/src/cle

mvnrsmart

Deploy code (on each node)

~/bin/stop.sh

ps -ef | grep sakai| grep java

  • if necessary (killall -9 java)

cd

~/config-staging/setup-sakai-node.sh

cd $CATALINA_HOME/logs

~/bin/start.sh ; tail -f catalina.out

NOTE: After the deployment, commit the "server/src/java/org/sakaiproject/gradebook/gwt/server/version.xml" in GB2 since it has the correct svn version information after the build. This needs to be committed back to the tag. We do this for folks that build GB2 after an SVN export.

  • No labels