simplified default Isabelle application wrapper (NB: build process is already part of isabelle jedit tool);
--- 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 "$@"