To compile and package a new version, follow these steps: 1a. Clone bioformats and change into the repos directoryh: $ git clone git://github.com/openmicroscopy/bioformats.git $ cd bioformats 1b. ... or pull the latest changes: $ cd bioformats $ git pull 2. Checkout the version you want to build (see 'git tag' for which tags are available). As of the time of this writing, v4.4.6 is the current release version: $ git checkout v4.4.6 3. Copy the packaging script 'create_openbis_bioformats.sh' from the libraries/bioformats directory into the bioformats git directory: $ cp ~/dev/workspace_openbis/libraries/bioformats/create_openbis_bioformats.sh . 4. Run the script: $ ./create_openbis_bioformats.sh 5. Copy the files bioformats.jar and bioformats_src.zip back into the libraries/bioformats directory and update the version.txt file accordingly. Note: the create_openbis_bioformats.sh repackages the classes produced by the bioformats ant script. What classes need to be added may change over time. So if you build a new major version, you need to check that all relevant files have been packaged into bioformats.jar!