The following procedure indicates how to compile and package cosbench for OpenIO. First, please read BUILD.md.
To get a running comilation environment, please refer to the same section in BUILD.md#development-environment.
Note that Eclipse 4.7.3a is a knwon working release. You must use JDK 1.8 and configure eclipse this way:
-
in
Window -> Preferences -> Java -> Prefered JRE
ensure a JDK 1.8 is selected. -
in
Window -> Preferences -> Java -> Compiler
ensureCompiler compliance level
is set to 1.8.
When you are ready to release a new version:
-
Update the file
VERSION
. -
Update the version in
dev/*/META-INF/MANIFEST.MF
by running the script./version_unify.sh
. -
Remove previous JAR:
rm dist/osgi/plugins/cosbench-*.jar
. -
In eclipe, select all project, right click then
export ... -> Plug-in Development -> Deployable plugins and fragments
. -
Run
./pack-openio.sh
to generatecosbench-$VERSION-openio.tar.gz
. -
Commit changes, tag to
${VERSION}-openio
and push to git (tagging can be done when making a new release from the github page). -
Create a release from github page.