lib/Tools/scala
author huffman
Sun, 24 Oct 2010 15:42:57 -0700
changeset 40213 b63e966564da
parent 37174 6feaab4fc27d
child 41622 ad5474a8374b
permissions -rwxr-xr-x
rename case combinators generated by domain package to 'foo_case' instead of 'foo_when'

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: invoke Scala within the Isabelle environment

[ -z "$SCALA_HOME" ] && { echo "Unknown SCALA_HOME -- Scala unavailable"; exit 2; }

[ -e "$ISABELLE_HOME/Admin/build" ] && { "$ISABELLE_HOME/Admin/build" jars || exit $?; }

CLASSPATH="$(jvmpath "$CLASSPATH")"
exec "$SCALA_HOME/bin/scala" "$@"