source: trunk/tools/tiffcomment @ 3474

Revision 3474, 854 bytes checked in by curtis, 12 years ago (diff)

Move TiffComment utility into command line tools suite as "tiffcomment."

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3# tiffcomment: a script for extracting the comment
4# (OME-XML block or otherwise) from a TIFF file
5
6# Required JARs: loci_tools.jar
7
8# JAR libraries must be in the same directory as this
9# command line script for the command to function. 
10
11# If you are a developer working from source and have
12# the LOCI classes in your CLASSPATH, you can set the
13# LOCI_DEVEL environment variable to use them instead.
14
15PROG=loci.formats.tools.TiffComment
16
17if [ $LOCI_DEVEL ]
18then
19  java -mx512m $PROG "$@"
20elif [ -e loci_tools.jar ] || [ -e bio-formats.jar ]
21then
22  java -mx512m -cp bio-formats.jar:loci_tools.jar $PROG "$@"
23else
24  echo "Required JAR libraries not found. Please download:"
25  echo "  loci_tools.jar"
26  echo "from:"
27  echo "  http://www.loci.wisc.edu/ome/formats.html"
28  echo "and place in the same directory as the command line tools."
29fi
Note: See TracBrowser for help on using the repository browser.