In order to deliver a new release, the pre-requisite is to have the Bamboo status green.
Another pre-requisite is to have a JDK5 and a JDK 1.4 as these java versions are still supported.
Make sure that the version of java is 1.5 when the packaging is done by doing a java -version.
eric@odin:~/Projects/quickfixj$ java -version java version "1.5.0_22" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)
If the Bamboo status is green, the packaging can be launched.
At the same time, the trunk can be tagged using the usual tag name QFJ_RELEASE_x_y_z.
The packaging is done using the Ant build.xml script that is available under quickfixj. You might have to update the jvm.java4 property to match your jdk 1.4 location:
<property name="jvm.java4" value="C:/Development/j2sdk1.4.2_13/bin/java"/>
The target to launch is release.versioned. The release version will have to be entered:
eric@odin:~/Projects/quickfixj$ ant release.versioned Buildfile: /home/eric/Projects/quickfixj/build.xml query.version: [input] Enter version number 1.5.2
After a few minutes, you will find the binaries under the dist directory:
eric@odin:~/Projects/quickfixj$ ls -l dist total 177316 drwxrwxr-x 6 eric eric 4096 2011-12-15 11:47 java4 -rw-rw-r-- 1 eric eric 35859173 2011-12-15 11:34 quickfixj-1.5.2-bin.tar.gz -rw-rw-r-- 1 eric eric 44016728 2011-12-15 11:35 quickfixj-1.5.2-bin.zip -rw-rw-r-- 1 eric eric 36608854 2011-12-15 11:46 quickfixj-1.5.2-java4-bin.tar.gz -rw-rw-r-- 1 eric eric 44759153 2011-12-15 11:47 quickfixj-1.5.2-java4-bin.zip -rw-rw-r-- 1 eric eric 9929024 2011-12-15 11:34 quickfixj-1.5.2-src.tar.gz -rw-rw-r-- 1 eric eric 10359138 2011-12-15 11:34 quickfixj-1.5.2-src.zip drwxrwxr-x 5 eric eric 4096 2011-12-15 11:34 staging drwxrwxr-x 3 eric eric 4096 2011-12-15 11:35 tar-bin drwxrwxr-x 3 eric eric 4096 2011-12-15 11:35 tar-src drwxrwxr-x 3 eric eric 4096 2011-12-15 11:35 zip-bin drwxrwxr-x 3 eric eric 4096 2011-12-15 11:45 zip-src
You can then log in into the quickfixj source forge file and go to the Files section (http://sourceforge.net/projects/quickfixj/files/QuickFIX_J/).
Then add a new folder with the version name and select the staging option in order to have the files hidden until the delivery process is completed.
All the *.zip and *.tar.gz files can be uploaded.
Then, a release note has to be published.
The release note has to be published as a sourceforge news (that you can find under Developer->News and then submit) and sent to the QFJ developers and QFJ users mailing lists.
Note that the SourceForge news will be updated automatically to the Quickfix/J web site.
A release note draft can be generated from JIRA will all the JIRA associated to the version set in JIRA and against which issues have be set as fixed. Afterwards the JIRA version needs to be closed.
Then, once you are happy will your release note, you need to modify the staging flag of the directory where the files have been uploaded and send the release note email and the sourceforge news.
Additionally, the links on http://www.quickfixj.org/documentation/ have to be changed to point to the new version.