author | wenzelm |
Thu, 06 Nov 2014 13:44:14 +0100 | |
changeset 58920 | 2f8168dc0eac |
parent 53576 | 793a429c63e7 |
child 61294 | 2d3d26e9b191 |
permissions | -rwxr-xr-x |
44950 | 1 |
#!/usr/bin/env bash |
2 |
# |
|
3 |
# Author: Makarius |
|
4 |
# |
|
5 |
# DESCRIPTION: invoke Scala compiler within the Isabelle environment |
|
6 |
||
52443 | 7 |
isabelle_admin_build jars || exit $? |
44950 | 8 |
|
47115
1a05adae1cc9
more robust command invocation via ISABELLE_JDK_HOME or SCALA_HOME (NB: bash exec requires genuine executable, not function);
wenzelm
parents:
45385
diff
changeset
|
9 |
isabelle_scala scalac -Dfile.encoding=UTF-8 \ |
53576
793a429c63e7
maintain classpath in more elementary manner: turn ISABELLE_CLASSPATH into -classpath option, so that all jars are covered by sun.misc.Launcher.AppClassLoader (e.g. relevant for loading add-on resources);
wenzelm
parents:
52443
diff
changeset
|
10 |
-classpath "$(jvmpath "$ISABELLE_CLASSPATH")" "$@" |
48915
34fac6fb9b03
simplified JVM startup, based on stronger assumptions about the Java version provided as Isabelle component;
wenzelm
parents:
47748
diff
changeset
|
11 |