lib/Tools/scalac
author griff
Tue, 03 Apr 2012 17:26:30 +0900
changeset 47433 07f4bf913230
parent 47115 1a05adae1cc9
child 47441 2fa904af222f
permissions -rwxr-xr-x
renamed "rel_comp" to "relcomp" (to be consistent with, e.g., "relpow")

#!/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 $?; }

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