Instructions on Preparing a Release

From OSPDocs

Jump to: navigation, search

Prior to Release

Perform all regression tests.

Release Procedure and Template Notes

  1. Update USIP_OSP_Properties.getRelease() to indicate new release number.
  2. Check code in to our google codebase.
  3. Create a 'tag' labeling this source code revision for this software release in the tags directory.
  4. Generate javadocs - Make sure you adjust the Version number in these also.
  5. Upload javadocs to Javadocs website.
  6. Logon to platform and export any simulations being worked on.
  7. Turn off Tomcat
  8. Export existing schemas to files.
    1. Export the root schema (usiposp) \\This saves *all of the users* that have been defined.
    2. Export the working schema (usipdemo)
  9. Delete all tables in the working schema
  10. Move locally previously uploaded files into new directory. (For example move C:\PeacePlatformDemo\htdocs to C:\PeacePlatformDemo\htdocs_1_21_09.)
  11. Copy needed files onto the upload staging directory. The commands below will do this for you (and avoid copying over extraneous files, such as those in the .svn directories.


1.) Startup powershell in admin mode

2.) robocopy C:\apache\tomcat\webapps\usip_osp C:\PeacePlatformDemo\htdocs /E /COPY:DATO /XF *.svn,.svn,*.properties /XD .svn, _notes, osp_arch_docs, osp_javadocs, wysiwyg_files

  1. Verify Properties file reflects all changes made to it
    1. Rename the properties file USIP_OSP_Properties_en_US.properties to USIP_OSP_Properties_en_US_dev.properties.
    2. Download the previous properties file from the demo site (USIP_OSP_Properties_en_US.).
    3. Do a diff on USIP_OSP_Properties_en_US.properties and USIP_OSP_Properties_en_US_dev.properties. Make any changes necessary.
  2. Delete or move all files in the htdocs directory on the server.
  3. Upload all files in the htdocs directory
  4. Move over any image files used in simulations. (For Now.)
  5. Restart Tomcat
  6. Go to the osp_install directory and complete the procedure there.
  7. Verify the installation by logging onto the platform
  8. Recreate data
    1. Import simulations from export files
    2. Recreate any users who existed previously
  9. Record in the OSP Demo Site Administrator's Records information on which schema were updated.
  10. Complete release notes (template below) and post them to our dev@opensimplatform.org
  11. Post a message on the opensimplatform.org site.