lib/Tools/scala
author blanchet
Wed, 15 Dec 2010 11:26:28 +0100
changeset 41136 30bedf58b177
parent 37174 6feaab4fc27d
child 41622 ad5474a8374b
permissions -rwxr-xr-x
implemented new type system encoding "overload_args", which is more lightweight than "const_args" (the unsound default) and hopefully almost as sound

#!/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" "$@"