Instructions on Preparing a Release
From OSPDocs
Prior to Release
Perform all regression tests.
Release Procedure and Template Notes
- Update USIP_OSP_Properties.getRelease() to indicate new release number.
- Check code in to our google codebase.
- Create a 'tag' labeling this source code revision for this software release in the tags directory.
- Generate javadocs - Make sure you adjust the Version number in these also.
- Upload javadocs to Javadocs website.
- Logon to platform and export any simulations being worked on.
- Turn off Tomcat
- Export existing schemas to files.
- Export the root schema (usiposp) \\This saves *all of the users* that have been defined.
- Export the working schema (usipdemo)
- Delete all tables in the working schema
- Move locally previously uploaded files into new directory. (For example move C:\PeacePlatformDemo\htdocs to C:\PeacePlatformDemo\htdocs_1_21_09.)
- 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 |
- Verify Properties file reflects all changes made to it
- Rename the properties file USIP_OSP_Properties_en_US.properties to USIP_OSP_Properties_en_US_dev.properties.
- Download the previous properties file from the demo site (USIP_OSP_Properties_en_US.).
- Do a diff on USIP_OSP_Properties_en_US.properties and USIP_OSP_Properties_en_US_dev.properties. Make any changes necessary.
- Delete or move all files in the htdocs directory on the server.
- Upload all files in the htdocs directory
- Move over any image files used in simulations. (For Now.)
- Restart Tomcat
- Go to the osp_install directory and complete the procedure there.
- Verify the installation by logging onto the platform
- Recreate data
- Import simulations from export files
- Recreate any users who existed previously
- Record in the OSP Demo Site Administrator's Records information on which schema were updated.
- Complete release notes (template below) and post them to our dev@opensimplatform.org
- Post a message on the opensimplatform.org site.