annotate je @ 0:111ba1180318 draft

Initial upload
author gbcs-embl-heidelberg
date Wed, 25 Nov 2015 12:36:37 -0500
parents
children ff5fddc4739b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
1 #!/bin/sh
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
2 # Wrapper around je_1.0_bundle.jar
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
3
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
4 # where are we stored ?
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
5 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
6 # echo $DIR
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
7 # path to jar file to execute, this jar is supposed to be in the same dir as this script
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
8 JAR_FILE=$DIR"/je_1.0_bundle.jar"
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
9
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
10 OPTS="-Xmx2g"
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
11 # uncomment to change logging level using your own log4j.xml found in $DIR file
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
12 # OPTS=$OPTS" -Dlog4j.configuration=file:$DIR/log4j.xml"
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
13
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
14 java $OPTS -jar $JAR_FILE "$@"
111ba1180318 Initial upload
gbcs-embl-heidelberg
parents:
diff changeset
15 exit $?