lib/Tools/scalac
author wenzelm
Mon, 23 Jan 2023 16:29:29 +0100
changeset 77056 f60dd8d76515
parent 76343 6a6f650cc5a2
permissions -rwxr-xr-x
more accurate options (amending 7e19dc018db9);

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

isabelle scala_build || exit $?

classpath "$ISABELLE_SETUP_CLASSPATH"; unset ISABELLE_SETUP_CLASSPATH
classpath "$CLASSPATH"; export CLASSPATH=""

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