lib/Tools/scalac
author berghofe
Thu, 22 Sep 2011 18:23:38 +0200
changeset 45047 3aa8d3c391a4
parent 44950 f60405791a1d
child 45385 7c1375ba1424
permissions -rwxr-xr-x
Moved extraction part of Higman's lemma to separate theory to allow reuse in theories compiled without support for proof terms.

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: invoke Scala compiler 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/scalac" -Dfile.encoding=UTF-8 \
  "-Djava.ext.dirs=$("$ISABELLE_HOME/lib/scripts/java_ext_dirs")" "$@"