lib/Tools/scalac
author paulson <lp15@cam.ac.uk>
Thu, 18 May 2023 11:44:42 +0100
changeset 78038 2c1b01563163
parent 76343 6a6f650cc5a2
permissions -rwxr-xr-x
New material from the HOL Light metric space library, mostly about quasi components

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