lib/Tools/scala
author wenzelm
Sun, 20 Jul 2014 17:21:14 +0200
changeset 57580 86b413b8f779
parent 53576 793a429c63e7
child 59894 ca16b657901f
permissions -rwxr-xr-x
check and build Isabelle session for console tool -- avoid multiple Scala/JVM invocation;

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

isabelle_admin_build jars || exit $?

isabelle_scala scala -Dfile.encoding=UTF-8 \
  -classpath "$(jvmpath "$ISABELLE_CLASSPATH")" "$@"