rsmart_2.6.2.13_b5

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)

--------------------UCD SAKAI PATCH MAKER--------------------

Applying all patches for this working copy: 

Applying SAK-3163.patch to gradebook2:
|	patching file pom.xml
Applying GRBK-559.patch to gradebook2:
|	patching file war/WEB-INF/web.xml
Applying SAK-3182_webservices.patch to webservices:
|	patching file axis/src/webapp/UCDCourseSearch.jws
Applying SAK-3182_custom.patch to custom/ucd-enterprise-data-service:
|	patching file enterprise-impl/impl/src/java/edu/ucdavis/enterprise/service/impl/UcdEnterpriseWebserviceHelperImpl.java
|	patching file enterprise-impl/impl/pom.xml
|	patching file enterprise-impl/pack/src/webapp/WEB-INF/components.xml
|	patching file enterprise-api/api/src/java/edu/ucdavis/enterprise/service/api/UcdEnterpriseWebserviceHelper.java
|	patching file enterprise-api/api/src/java/edu/ucdavis/enterprise/cover/UcdEnterpriseWebserviceHelper.java

~/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.

cd src/rsmart_2.6.2.13_b5/src/cle/gradebook2
svn commit -m "NOJIRA : Committing version.xml" server/src/java/org/sakaiproject/gradebook/gwt/server/version.xml