| author | wenzelm | 
| Fri, 16 Oct 2015 14:53:26 +0200 | |
| changeset 61458 | 987533262fc2 | 
| parent 61294 | 2d3d26e9b191 | 
| child 67490 | 982f0bf34804 | 
| 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: 
45385diff
changeset | 9 | isabelle_scala scalac -Dfile.encoding=UTF-8 \ | 
| 61294 | 10 | -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@" | 
| 48915 
34fac6fb9b03
simplified JVM startup, based on stronger assumptions about the Java version provided as Isabelle component;
 wenzelm parents: 
47748diff
changeset | 11 |