Changes between Version 4 and Version 5 of ReleasingApplications
- Timestamp:
- Aug 11, 2010, 2:32:07 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReleasingApplications
v4 v5 31 31 32 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]) .33 SSH into !opensha@opensha.usc.edu then navigate to the Tomcat development build directory (for more information see [wiki:TomcatConfig Tomcat Configuration]): 34 34 {{{ 35 35 kevin@milner:~$ ssh opensha@opensha.usc.edu … … 43 43 At revision 6959. 44 44 }}} 45 Then rebuild the project 45 Then rebuild the project: 46 46 {{{ 47 47 [3:opensha] /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF: ./rebuild.sh 48 48 }}} 49 Then restart Tomcat 49 Then restart Tomcat: 50 50 {{{ 51 51 [4:opensha] /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF: cd ant/ … … 59 59 You should update the build number in the release branch as well, then commit the change. See [#UpdateBuildVersion Update Build Version] above. 60 60 61 Once the updates are in the release branch on SVN, you'll need to update the checked out copy on the server. SSH into !opensha@opensha.usc.edu then navigate to the Tomcat development build directory (for more information see [wiki:TomcatConfig Tomcat Configuration]) .61 Once the updates are in the release branch on SVN, you'll need to update the checked out copy on the server. SSH into !opensha@opensha.usc.edu then navigate to the Tomcat development build directory (for more information see [wiki:TomcatConfig Tomcat Configuration]): 62 62 {{{ 63 63 kevin@milner:~$ ssh opensha@opensha.usc.edu … … 65 65 [1:opensha] ~: cd /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF 66 66 }}} 67 Then rebuild the project 67 Then rebuild the project: 68 68 {{{ 69 69 [2:opensha] /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF: ./rebuild.sh … … 71 71 72 72 == Building the applications == 73 Once the Tomcat directory is all setup and updated, it's time to build the applications! 74 75 SSH into !opensha@opensha.usc.edu then navigate to the "ant" sub-directory of the Tomcat development build directory (for more information see [wiki:TomcatConfig Tomcat Configuration]): 76 {{{ 77 kevin@milner:~$ ssh opensha@opensha.usc.edu 78 Last login: Wed Aug 11 14:09:07 2010 from milner.usc.edu 79 [1:opensha] ~: cd /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF/ant 80 }}} 81 Build the applications using the [source:trunk/ant/MultiAppBuilder.xml MultiAppBuilder.xml] ant build file's "build.dist" target: 82 {{{ 83 [2:opensha] /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF/ant: ./runAnt.sh MultiAppBuilder.xml build.dist 84 Buildfile: MultiAppBuilder.xml 85 ... 86 BUILD SUCCESSFUL 87 Total time: 4 minutes 6 seconds 88 }}} 89 And that's it!