forked from ome/bioformats
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes
More file actions
executable file
·36 lines (30 loc) · 1.15 KB
/
Copy pathnotes
File metadata and controls
executable file
·36 lines (30 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
# notes: a script for launching OME Notes
# Required JARs: loci_tools.jar, ome-notes.jar
# JAR libraries must be in the same directory as this
# command line script for the command to function.
# If you are a developer working from source and have
# the LOCI classes in your CLASSPATH, you can set the
# LOCI_DEVEL environment variable to use them instead.
PROG=loci.ome.notes.Notes
DIR=`dirname "$0"`
if [ $LOCI_DEVEL ]
then
java -mx512m $PROG "$@"
elif \
([ -e "$DIR/loci_tools.jar" ] || [ -e "$DIR/bio-formats.jar" ]) && \
[ -e "$DIR/ome-notes.jar" ]
then
java -mx512m -cp "$DIR":"$DIR/bio-formats.jar":"$DIR/loci_tools.jar":"$DIR/ome-notes.jar" $PROG "$@"
else
echo "Required JAR libraries not found. Please download:"
echo " loci_tools.jar"
echo "from:"
echo " http://www.openmicroscopy.org/site/products/bio-formats/downloads"
echo "as well as the OME Notes JAR from:"
echo " http://www.loci.wisc.edu/software/daily/ome-notes.jar"
echo "and place in the same directory as the command line tools."
echo ""
echo "Please note that OME Notes is legacy software that "
echo "has been discontinued. Use at your own risk."
fi