OBO-Edit: Making OBO-Edit Installers: Difference between revisions

From GO Wiki
Jump to navigation Jump to search
mNo edit summary
Line 5: Line 5:


== Things to check in OBO-Edit source tree ==
== Things to check in OBO-Edit source tree ==
Be sure you are up to date (do an svn update).  Look in build.xml (in the main OBO-Edit directory) and make sure the location for "javahelp_indexer" points to your "jhindexer" executable in your installed JavaHelp application.    Also check the install4j properties in build.xml and make sure those point to the right places. Finally, make sure org/oboedit/resources/VERSION is up to date and put a brief description of changes since the last release in the CHANGES file in the main OBO-Edit directory.
Be sure you are up to date (do an svn update).  Look in build.xml (in the main OBO-Edit directory) and make sure the location for "javahelp_indexer" points to your "jhindexer" executable in your installed JavaHelp application.    Also check the install4j properties in build.xml and make sure those point to the right places.
 
Make sure org/oboedit/resources/VERSION is up to date and that it does NOT end with a newline--that will screw up the jar_manifest.  Emacs always seems to put in a newline, even if you try to delete it.  I've found the best approach is to change the version number by using this handy little perl command:
perl -pi -e "s/XXX/28/" src/org/oboedit/resources/VERSION
 
Also, be sure to put a brief description of changes since the last release in the CHANGES file in the main OBO-Edit directory.


== Generating the release ==
== Generating the release ==

Revision as of 18:39, 23 January 2008

These instructions are for OBO-Edit project administrators who need to make official OBO-Edit releases.

Tools you will need to download

The OBO-Edit installers are currently generated by a Java installer builder called install4j, which unfortunately is not free--we are investigating Open Source alternatives. You will also need to install JavaHelp.

Things to check in OBO-Edit source tree

Be sure you are up to date (do an svn update). Look in build.xml (in the main OBO-Edit directory) and make sure the location for "javahelp_indexer" points to your "jhindexer" executable in your installed JavaHelp application. Also check the install4j properties in build.xml and make sure those point to the right places.

Make sure org/oboedit/resources/VERSION is up to date and that it does NOT end with a newline--that will screw up the jar_manifest. Emacs always seems to put in a newline, even if you try to delete it. I've found the best approach is to change the version number by using this handy little perl command: perl -pi -e "s/XXX/28/" src/org/oboedit/resources/VERSION

Also, be sure to put a brief description of changes since the last release in the CHANGES file in the main OBO-Edit directory.

Generating the release

You should now be able to say "ant installers" and the installers for each platform will be automatically generated in the releases subdirectory. In order to upload the installers to SourceForget, you will need to be a project admin.


Return to OBO-Edit main page