| author | nipkow | 
| Fri, 01 May 2015 08:45:30 +0200 | |
| changeset 60161 | 59ebc3f2f896 | 
| 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: 
45385diff
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: 
52443diff
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: 
47748diff
changeset | 11 |