| author | blanchet | 
| Tue, 11 Sep 2012 18:39:47 +0200 | |
| changeset 49286 | dde4967c9233 | 
| parent 48915 | 34fac6fb9b03 | 
| child 52443 | 725916b7dee5 | 
| 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  | 
||
7  | 
[ -e "$ISABELLE_HOME/Admin/build" ] && { "$ISABELLE_HOME/Admin/build" jars || exit $?; }
 | 
|
8  | 
||
9  | 
CLASSPATH="$(jvmpath "$CLASSPATH")"  | 
|
| 
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
 | 
10  | 
isabelle_scala scalac -Dfile.encoding=UTF-8 \  | 
| 
48915
 
34fac6fb9b03
simplified JVM startup, based on stronger assumptions about the Java version provided as Isabelle component;
 
wenzelm 
parents: 
47748 
diff
changeset
 | 
11  | 
"-Djava.ext.dirs=$(jvmpath "$ISABELLE_JAVA_EXT:$ISABELLE_HOME/lib/classes/ext")" "$@"  | 
| 
 
34fac6fb9b03
simplified JVM startup, based on stronger assumptions about the Java version provided as Isabelle component;
 
wenzelm 
parents: 
47748 
diff
changeset
 | 
12  |