lib/Tools/scala
author wenzelm
Thu, 26 Jul 2012 12:27:47 +0200
changeset 48509 4854ced3e9d7
parent 47748 24550210de0b
child 48915 34fac6fb9b03
permissions -rwxr-xr-x
support session groups; tuned signature;

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

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

CLASSPATH="$(jvmpath "$CLASSPATH")"
isabelle_scala scala -Dfile.encoding=UTF-8 \
  "-Djava.ext.dirs=$("$ISABELLE_HOME/src/Tools/JVM/java_ext_dirs")" "$@"