source: trunk/tools/notes @ 5987

Revision 5987, 1.1 KB 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# notes: a script for launching OME Notes
4
5# Required JARs: loci_tools.jar, ome-notes.jar
6
7# JAR libraries must be in the same directory as this
8# command line script for the command to function.
9
10# If you are a developer working from source and have
11# the LOCI classes in your CLASSPATH, you can set the
12# LOCI_DEVEL environment variable to use them instead.
13
14PROG=loci.ome.notes.Notes
15DIR=`dirname "$0"`
16
17if [ $LOCI_DEVEL ]
18then
19  java -mx512m $PROG "$@"
20elif \
21  ([ -e "$DIR/loci_tools.jar" ] || [ -e "$DIR/bio-formats.jar" ]) && \
22  [ -e "$DIR/ome-notes.jar" ]
23then
24  java -mx512m -cp \
25    "$DIR/bio-formats.jar":"$DIR/loci_tools.jar":"$DIR/ome-notes.jar" \
26    $PROG "$@"
27else
28  echo "Required JAR libraries not found. Please download:"
29  echo "  loci_tools.jar"
30  echo "from:"
31  echo "  http://www.loci.wisc.edu/bio-formats/downloads"
32  echo "as well as the OME Notes JAR from:"
33  echo "  http://www.loci.wisc.edu/software/daily/ome-notes.jar"
34  echo "and place in the same directory as the command line tools."
35  echo ""
36  echo "Please note that OME Notes is legacy software that "
37  echo "has been discontinued. Use at your own risk."
38fi
Note: See TracBrowser for help on using the repository browser.