view je @ 3:01fdc6d10660 draft

planemo upload for repository https://git.embl.de/grp-gbcs/Je/tree/master/src/galaxy commit dd9e62bdb01d1252a90ce778103ce9b6b4a8cd52-dirty
author gbcs-embl-heidelberg
date Wed, 21 Jun 2017 05:22:53 -0400
parents ff5fddc4739b
children 7895e352c09b
line wrap: on
line source

#!/bin/sh
# Wrapper around je_1.1_bundle.jar

# where are we stored ?
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# echo $DIR
# path to jar file to execute, this jar is supposed to be in the same dir as this script
JAR_FILE=$DIR"/je_1.1_bundle.jar"

# set default _JAVA_OPTIONS
_JAVA_OPTIONS=${_JAVA_OPTIONS:-'-Xmx4G -Xms256m'}
export _JAVA_OPTIONS

# uncomment to change logging level using your own log4j.xml found in $DIR file
# OPTS="-Dlog4j.configuration=file:$DIR/log4j.xml"

java $OPTS -jar $JAR_FILE "$@"
exit $?