lib/Tools/scala
author blanchet
Mon, 06 Jun 2011 20:36:35 +0200
changeset 43183 faece9668bce
parent 41622 ad5474a8374b
child 43521 d477b92109b8
permissions -rwxr-xr-x
don't throw exception on unknown constants (e.g. skolems), and give more precise type to applied functions

#!/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" -Dfile.encoding=UTF-8 "$@"