lib/Tools/scala
author wenzelm
Sun, 25 Nov 2012 15:17:01 +0100
changeset 50197 b385d134926d
parent 48915 34fac6fb9b03
child 52443 725916b7dee5
permissions -rwxr-xr-x
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;

#!/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=$(jvmpath "$ISABELLE_JAVA_EXT:$ISABELLE_HOME/lib/classes/ext")" "$@"