lib/Tools/scalac
author desharna
Tue, 25 Feb 2025 17:44:11 +0100
changeset 82211 fa728c70083d
parent 76343 6a6f650cc5a2
permissions -rwxr-xr-x
clarify inteaction of tactic hammer and suggest_of=smart (from Jasmin)

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