lib/Tools/scalac
author wenzelm
Mon, 08 Nov 2021 13:51:24 +0100
changeset 74732 015282fb3e31
parent 74038 b4f57bfe82e7
child 76343 6a6f650cc5a2
permissions -rwxr-xr-x
clarified messages, depending on option "document_echo";

#!/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"; unset CLASSPATH

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