lib/Tools/scala
author wenzelm
Fri Oct 05 23:49:12 2018 +0200 (11 months ago)
changeset 69126 e1b4b14ded58
parent 67490 982f0bf34804
permissions -rwxr-xr-x
discontinue java.ext.dirs for jdk-11 -- in contrast to 982f0bf34804 for jdk-8;
     1 #!/usr/bin/env bash
     2 #
     3 # Author: Makarius
     4 #
     5 # DESCRIPTION: invoke Scala within the Isabelle environment
     6 
     7 isabelle_admin_build jars || exit $?
     8 
     9 eval "declare -a JAVA_ARGS=($ISABELLE_JAVA_SYSTEM_OPTIONS)"
    10 declare -a SCALA_ARGS=()
    11 for ARG in "${JAVA_ARGS[@]}"
    12 do
    13   SCALA_ARGS["${#SCALA_ARGS[@]}"]="-J$ARG"
    14 done
    15 
    16 isabelle_scala scala "${SCALA_ARGS[@]}" \
    17   -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@"