lib/Tools/scalac
author huffman
Fri, 20 Apr 2012 15:34:33 +0200
changeset 47626 f7b1034cb9ce
parent 47441 2fa904af222f
child 47748 24550210de0b
permissions -rwxr-xr-x
move definition of set_rel into Library/Quotient_Set.thy

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

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

export JAVA_HOME="$ISABELLE_JDK_HOME"

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