# HG changeset patch # User wenzelm # Date 1315654863 -7200 # Node ID 329ced2615ebedbc57e53c10dd55c1e6362228a7 # Parent 56101fa00193b0c02f68041ef215916d48204fc1 simplified default Isabelle application wrapper (NB: build process is already part of isabelle jedit tool); diff -r 56101fa00193 -r 329ced2615eb Isabelle --- a/Isabelle Sat Sep 10 10:29:24 2011 +0200 +++ b/Isabelle Sat Sep 10 13:41:03 2011 +0200 @@ -2,27 +2,7 @@ # # Author: Makarius # -# Generic Isabelle application wrapper. - -if [ -L "$0" ]; then - TARGET="$(LC_ALL=C ls -l "$0" | sed 's/.* -> //')" - exec "$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd "$(dirname "$TARGET")"; pwd)/$(basename "$TARGET")" "$@" -fi - - -## settings +# Default Isabelle application wrapper. -ISABELLE_HOME="$(cd "$(dirname "$0")"; pwd -P)" -source "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2 - -unset ISABELLE_SETTINGS_PRESENT -unset ISABELLE_SITE_SETTINGS_PRESENT - +exec "$(dirname "$0")"/bin/isabelle jedit "$@" -## main - -[ -e "$ISABELLE_HOME/Admin/build" ] && "$ISABELLE_HOME/Admin/build" jars - -exec "$ISABELLE_TOOL" java \ - "-Disabelle.home=$(jvmpath "$ISABELLE_HOME")" \ - isabelle.GUI_Setup "$@"