lib/Tools/scala
author Fabian Huch <huch@in.tum.de>
Mon, 10 Feb 2025 10:52:55 +0100
changeset 82131 7d89e4f10ffe
parent 79561 4838fcbd019b
permissions -rwxr-xr-x
remove limit on boolean clauses in Solr, introduced in "fix" SOLR-13336;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: invoke Scala within the Isabelle environment

isabelle scala_build || exit $?

classpath "$ISABELLE_SETUP_CLASSPATH"; unset ISABELLE_SETUP_CLASSPATH
classpath "$CLASSPATH"; export CLASSPATH=""

export jvm_cp_args="$(platform_path "$ISABELLE_CLASSPATH")"
export JAVA_OPTS="$ISABELLE_JAVA_SYSTEM_OPTIONS -J-Dscala.usejavacp=true"

case "$ISABELLE_PLATFORM_FAMILY" in
  windows*)
    export TERM=dumb
    ;;
esac

isabelle_scala scala $ISABELLE_SCALAC_OPTIONS "$@"