Sha256: 4592678d8b67962054b126ebd8b3a0272e82841782e9f5cd5959aac605c4fe12

Contents?: true

Size: 978 Bytes

Versions: 3

Compression:

Stored size: 978 Bytes

Contents

#!/bin/sh

PRG=$0
#progname=`basename $0`

# Resolve symlinks. See 4152645.
while [ -L "$PRG" ]; do
    ls=`/bin/ls -ld "$PRG"`
    link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
    if /usr/bin/expr "$link" : '/' > /dev/null; then
	PRG="$link"
    else
	PRG="`/usr/bin/dirname $PRG`/$link"
    fi
done

unset JAVA_HOME
unset CLASSPATH

# Get the full name of the directory where the Handle system is installed
HDLHOME=`dirname "$PRG"`
HDLHOME="${HDLHOME}/../"
#echo "HDLHOME is $HDLHOME"

# Load all of the .jar files in the lib directory into the classpath
CP=""
for jarfile in ${HDLHOME}lib/*.jar ; do
  CP=${CP}:${jarfile}
done
for jarfile in ${HDLHOME}lib/*/*.jar ; do
  CP=${CP}:${jarfile}
done
for jarfile in ${HDLHOME}lib/amazons3/*.jar ; do
  CP=${CP}:${jarfile}
done

# the last line of this script is added by the build process
# To developers:  make sure there is at least one blank line after
# this line

exec java -cp "${CP}" net.handle.apps.batch.GenericBatch "$@" 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
handle-system-0.1.1 vendor/handle/bin/hdl-genericbatch
handle-system-0.1.0 vendor/handle/bin/hdl-genericbatch
handle-system-0.0.7 vendor/handle/bin/hdl-genericbatch