lib/Tools/scalac
author desharna
Thu, 24 Apr 2025 14:53:32 +0200
changeset 82577 f3b3d49d84d7
parent 76343 6a6f650cc5a2
permissions -rwxr-xr-x
clarified signature

#!/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")" "$@"