equal
deleted
inserted
replaced
15 echo "Usage: isabelle $PRG [OPTIONS] [FILES ...]" |
15 echo "Usage: isabelle $PRG [OPTIONS] [FILES ...]" |
16 echo |
16 echo |
17 echo " Options are:" |
17 echo " Options are:" |
18 echo " -J OPTION add JVM runtime option" |
18 echo " -J OPTION add JVM runtime option" |
19 echo " (default JEDIT_JAVA_OPTIONS=$JEDIT_JAVA_OPTIONS)" |
19 echo " (default JEDIT_JAVA_OPTIONS=$JEDIT_JAVA_OPTIONS)" |
|
20 echo " -d enable debugger" |
20 echo " -j OPTION add jEdit runtime option" |
21 echo " -j OPTION add jEdit runtime option" |
21 echo " (default JEDIT_OPTIONS=$JEDIT_OPTIONS)" |
22 echo " (default JEDIT_OPTIONS=$JEDIT_OPTIONS)" |
22 echo " -l NAME logic image name (default ISABELLE_LOGIC=$ISABELLE_LOGIC)" |
23 echo " -l NAME logic image name (default ISABELLE_LOGIC=$ISABELLE_LOGIC)" |
23 echo " -m MODE add print mode for output" |
24 echo " -m MODE add print mode for output" |
24 echo |
25 echo |
43 JEDIT_PRINT_MODE="" |
44 JEDIT_PRINT_MODE="" |
44 |
45 |
45 declare -a JAVA_OPTIONS; eval "JAVA_OPTIONS=($JEDIT_JAVA_OPTIONS)" |
46 declare -a JAVA_OPTIONS; eval "JAVA_OPTIONS=($JEDIT_JAVA_OPTIONS)" |
46 declare -a OPTIONS; eval "OPTIONS=($JEDIT_OPTIONS)" |
47 declare -a OPTIONS; eval "OPTIONS=($JEDIT_OPTIONS)" |
47 |
48 |
48 while getopts "J:j:l:m:" OPT |
49 while getopts "J:dj:l:m:" OPT |
49 do |
50 do |
50 case "$OPT" in |
51 case "$OPT" in |
51 J) |
52 J) |
52 JAVA_OPTIONS["${#JAVA_OPTIONS[@]}"]="$OPTARG" |
53 JAVA_OPTIONS["${#JAVA_OPTIONS[@]}"]="$OPTARG" |
|
54 ;; |
|
55 d) |
|
56 JAVA_OPTIONS["${#JAVA_OPTIONS[@]}"]="-Xdebug" |
|
57 JAVA_OPTIONS["${#JAVA_OPTIONS[@]}"]="-Xrunjdwp:transport=dt_socket,server=y,suspend=n" |
53 ;; |
58 ;; |
54 j) |
59 j) |
55 OPTIONS["${#OPTIONS[@]}"]="$OPTARG" |
60 OPTIONS["${#OPTIONS[@]}"]="$OPTARG" |
56 ;; |
61 ;; |
57 l) |
62 l) |