lib/Tools/scala
author wenzelm
Wed, 25 Apr 2012 22:53:35 +0200
changeset 47764 d141f1193789
parent 47748 24550210de0b
child 48915 34fac6fb9b03
permissions -rwxr-xr-x
more direct bash process group invocation on Cygwin, bypassing extra sh.exe and perl.exe which tend to crash;

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