source: trunk/tools/tiffcomment @ 5987

Revision 5987, 917 bytes checked in by curtis, 10 years ago (diff)

Update a bunch of URLs. Still more to be done in various packages though.

  • 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
16DIR=`dirname "$0"`
17
18if [ $LOCI_DEVEL ]
19then
20  java -mx512m $PROG "$@"
21elif [ -e "$DIR/loci_tools.jar" ] || [ -e "$DIR/bio-formats.jar" ]
22then
23  java -mx512m -cp "$DIR/bio-formats.jar":"$DIR/loci_tools.jar" $PROG "$@"
24else
25  echo "Required JAR libraries not found. Please download:"
26  echo "  loci_tools.jar"
27  echo "from:"
28  echo "  http://www.loci.wisc.edu/bio-formats/downloads"
29  echo "and place in the same directory as the command line tools."
30fi
Note: See TracBrowser for help on using the repository browser.