Changes between Version 1 and Version 2 of ReleasingApplications


Ignore:
Timestamp:
Aug 11, 2010, 2:16:33 PM (14 years ago)
Author:
Kevin Milner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReleasingApplications

    v1 v2  
    44
    55=== Update Build Version ===
    6 First, open [source:trunk/ant/include/utils.xml ant/include/utils.xml] in Eclipse. Update the build version as follows:
     6First, open [source:trunk/ant/include/utils.xml ant/include/utils.xml] in Eclipse. Run one of the following targets to update the build version:
    77* update.major.version - updates the major (first) version. For example, this will update from 1.5.2 to 2.0.0
    88* update.minor.version - updates the major (first) version. For example, this will update from 1.5.2 to 1.6.0
     
    2727public static final ServerPrefs SERVER_PREFS = ServerPrefs.PRODUCTION_PREFS;
    2828}}}
     29
     30Commit this modified file to your release branch.
     31
     32=== Setup Tomcat production dir ===
     33SSH into !opensha@opensha.usc.edu then navigate to the Tomcat development build directory (for more information see [wiki:TomcatConfig Tomcat Configuration]).
     34{{{
     35kevin@milner:~$ ssh opensha@opensha.usc.edu
     36Last 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}}}
     39Switch 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
     42switching to branch releases/release_1.0.x at https://source.usc.edu/svn/opensha/branches/releases/release_1.0.x
     43At revision 6959.
     44}}}
     45Then rebuild the project
     46{{{
     47[3:opensha] /usr/local/tomcat/default/webapps/OpenSHA/WEB-INF: ./rebuild.sh
     48}}}
     49Then 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}}}