Scripts for performing development tasks¶
tools directory contains several scripts which are useful
for building and performing routine updates to the code base.
This updates the Maven POM version numbers for all pom.xml files that set groupId to ome. The script takes a single argument, which is the new version. For example, to update the POM versions prior to release:
and to switch back to snapshot versions immediately after release:
This is the script used by Travis to test each commit. It compiles and runs tests on each of the components in the Bio-Formats repository according to the arguments specified. Valid arguments are:
clean: cleans the Maven build directories
maven: builds all Java components using Maven and runs unit tests
ant: builds all Java components using Ant and runs unit tests
all: equivalent of clean maven ant
This updates the end year in the copyright blocks of all source code files. The command takes no arguments, and sets the end year to be the current year. As update_copyright is a Bash script, it is not intended to be run on Windows.