lib/Tools/scala
author wenzelm
Tue, 20 Jul 2010 23:09:49 +0200
changeset 37863 7f113caabcf4
parent 37174 6feaab4fc27d
child 41622 ad5474a8374b
permissions -rwxr-xr-x
discontinued pervasive val theory = Thy_Info.get_theory -- prefer antiquotations in most situations;

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