Changes between Initial Version and Version 1 of ReleasingApplications


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

--

Legend:

Unmodified
Added
Removed
Modified
  • ReleasingApplications

    v1 v1  
     1= Releasing Applications =
     2[[PageOutline]]
     3== Creating a new release ==
     4
     5=== Update Build Version ===
     6First, open [source:trunk/ant/include/utils.xml ant/include/utils.xml] in Eclipse. Update the build version as follows:
     7* update.major.version - updates the major (first) version. For example, this will update from 1.5.2 to 2.0.0
     8* update.minor.version - updates the major (first) version. For example, this will update from 1.5.2 to 1.6.0
     9* update.build.number - '''should not be used here'''
     10
     11Commit the newly modified file [source:trunk/ant/include/build.version ant/include/build.version] to trunk.
     12
     13=== Create a release branch ===
     14You should then create a branch for this release. The branch should be created in the [source:branches/releases] directory with the name "release_<major>.<minor>.x".
     15
     16For example, for version 1.0.0, the branch [source:branches/releases/release_1.0.x] was created.
     17
     18=== Update !ServerPrefs ===
     19Next, you must update the server preferences class in the new branch, and commit it to SVN. This tells various parts of the OpenSHA project that this is a release branch, and to use the "stable" server URLs/ports.
     20
     21In Eclipse, open the class [source:trunk/src/org/opensha/commons/util/ServerPrefUtils.java ServerPrefUtils] in org.opensha.commons.util . Find this line:
     22{{{
     23public static final ServerPrefs SERVER_PREFS = ServerPrefs.DEV_PREFS;
     24}}}
     25And change it to:
     26{{{
     27public static final ServerPrefs SERVER_PREFS = ServerPrefs.PRODUCTION_PREFS;
     28}}}