We have created several scripts for using Bio-Formats on the command line.
Download bftools.zip, unzip it into a new folder, then download loci_tools.jar and place it in the same folder.
The zip file contains both Unix scripts and Windows batch files. Currently available tools include:
xmllint --format
but more robust in that it attempts to produce output regardless
of syntax errors in the XML.
All scripts require loci_tools.jar in the same directory as the command line tools.
We have posted a Bio-Formats command line tools tutorial to the FARSIGHT web site.
If you have checked out the
source from our Subversion repository you already have the command line
tools in the tools directory. You can configure the
scripts to use your source tree instead of loci_tools.jar in the
same directory by following these steps:
jar folder.
C:\code\loci, set your CLASSPATH
environment variable to the value
C:\code\loci\jar\*;C:\code\loci. You can access the
environment variable configuration area by right-clicking on
My Computer, choosing Properties, Advanced tab, Environment
Variables button.
ant dev-compile.LOCI_DEVEL environment variable to any value.
(The variable just needs to be defined.)