lib/Tools/scalac
author Manuel Eberl <manuel@pruvisto.org>
Thu, 31 Oct 2024 18:43:32 +0100
changeset 81291 d6daa049c1db
parent 76343 6a6f650cc5a2
permissions -rwxr-xr-x
use automatically generated time function in HOL-Data_Structures.Selection

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