| 29 | |
| 30 | Commit this modified file to your release branch. |
| 31 | |
| 32 | === Setup Tomcat production dir === |
| 33 | SSH into !opensha@opensha.usc.edu then navigate to the Tomcat development build directory (for more information see [wiki:TomcatConfig Tomcat Configuration]). |
| 34 | {{{ |
| 35 | kevin@milner:~$ ssh opensha@opensha.usc.edu |
| 36 | Last login: Wed Aug 11 14:09:07 2010 from milner.usc.edu |
| 37 | [1:opensha] ~: cd /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF |
| 38 | }}} |
| 39 | Switch to your new release branch. For example, to switch to releases/release_1.0.x : '''(you'll have to replace this with your new release branch!)''' |
| 40 | {{{ |
| 41 | [2:opensha] /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF: ./scripts/svn/switch_to_branch.sh releases/release_1.0.x |
| 42 | switching to branch releases/release_1.0.x at https://source.usc.edu/svn/opensha/branches/releases/release_1.0.x |
| 43 | At revision 6959. |
| 44 | }}} |
| 45 | Then rebuild the project |
| 46 | {{{ |
| 47 | [3:opensha] /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF: ./rebuild.sh |
| 48 | }}} |
| 49 | Then restart Tomcat |
| 50 | {{{ |
| 51 | [4:opensha] /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF: cd ant/ |
| 52 | [5:opensha] /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF/ant: ./runAnt.sh cc-build-test.xml restart.tomcat |
| 53 | }}} |