etc/settings
author wenzelm
Thu Sep 12 13:23:54 2013 +0200 (2013-09-12)
changeset 53576 793a429c63e7
parent 53346 26c795734b3c
child 53577 d033bc00b762
permissions -rw-r--r--
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);
ignore $ISABELLE_JAVA_EXT -- do not change java.ext.dirs;
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
#
wenzelm@47173
     3
# Isabelle settings -- distribution defaults.
wenzelm@16875
     4
#
wenzelm@16875
     5
# Important notes:
wenzelm@47173
     6
#   * See the "system" manual for explanations on Isabelle settings
wenzelm@16875
     7
#   * DO NOT EDIT the repository copy of this file!
wenzelm@47173
     8
#   * DO NOT COPY this file into your ~/.isabelle directory!
wenzelm@2309
     9
wenzelm@2426
    10
###
wenzelm@52790
    11
### Isabelle/Scala
wenzelm@27906
    12
###
wenzelm@27906
    13
wenzelm@51384
    14
ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5 -Xmax-classfile-name 130"
wenzelm@47009
    15
wenzelm@53346
    16
ISABELLE_JAVA_SYSTEM_OPTIONS="-Dfile.encoding=UTF-8 -server"
wenzelm@53346
    17
wenzelm@53576
    18
classpath "$ISABELLE_HOME/lib/classes/ext/Pure.jar"
wenzelm@53576
    19
classpath "$ISABELLE_HOME/lib/classes/ext/scala-library.jar"
wenzelm@53576
    20
classpath "$ISABELLE_HOME/lib/classes/ext/scala-swing.jar"
wenzelm@53576
    21
classpath "$ISABELLE_HOME/lib/classes/ext/scala-actors.jar"
wenzelm@53576
    22
classpath "$ISABELLE_HOME/lib/classes/ext/scala-compiler.jar"
wenzelm@53576
    23
classpath "$ISABELLE_HOME/lib/classes/ext/scala-reflect.jar"
wenzelm@53576
    24
wenzelm@27906
    25
wenzelm@27906
    26
###
wenzelm@28504
    27
### Interactive sessions (cf. isabelle tty)
wenzelm@25627
    28
###
wenzelm@25627
    29
wenzelm@25627
    30
ISABELLE_LINE_EDITOR=""
wenzelm@26205
    31
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
wenzelm@25627
    32
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
wenzelm@25627
    33
wenzelm@25627
    34
wenzelm@25627
    35
###
wenzelm@52052
    36
### Batch sessions (cf. isabelle build)
wenzelm@2435
    37
###
wenzelm@2435
    38
wenzelm@48466
    39
ISABELLE_BUILD_OPTIONS=""
wenzelm@51977
    40
ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
wenzelm@48466
    41
wenzelm@2435
    42
wenzelm@2435
    43
###
wenzelm@28504
    44
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    45
###
wenzelm@7773
    46
wenzelm@7773
    47
ISABELLE_LATEX="latex"
wenzelm@7773
    48
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    49
ISABELLE_BIBTEX="bibtex"
kleing@14344
    50
ISABELLE_MAKEINDEX="makeindex"
wenzelm@11800
    51
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    52
wenzelm@7773
    53
wenzelm@7773
    54
###
wenzelm@2968
    55
### Misc path settings
wenzelm@2426
    56
###
wenzelm@2294
    57
wenzelm@48840
    58
ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
wenzelm@48840
    59
wenzelm@2426
    60
# The place for user configuration, heap files, etc.
wenzelm@48553
    61
if [ -z "$ISABELLE_IDENTIFIER" ]; then
wenzelm@48449
    62
  ISABELLE_HOME_USER="$USER_HOME/.isabelle"
wenzelm@48449
    63
else
wenzelm@48449
    64
  ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@48449
    65
fi
wenzelm@2294
    66
wenzelm@3177
    67
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    68
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
    69
wenzelm@4334
    70
# Location for temporary files (should be on a local file system).
wenzelm@9787
    71
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
    72
wenzelm@9787
    73
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
    74
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
    75
wenzelm@9787
    76
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
    77
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
    78
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
    79
wenzelm@16186
    80
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
    81
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
    82
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
    83
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
    84
kleing@13920
    85
kleing@13920
    86
###
wenzelm@28651
    87
### Default logic
kleing@13920
    88
###
wenzelm@16186
    89
wenzelm@3184
    90
ISABELLE_LOGIC=HOL
wenzelm@2294
    91
wenzelm@2786
    92
kleing@13920
    93
###
kleing@13920
    94
### Docs
kleing@13920
    95
###
wenzelm@2294
    96
wenzelm@16186
    97
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
    98
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
    99
wenzelm@50197
   100
# PDF file viewer (command-line to eval)
wenzelm@50197
   101
case "$ISABELLE_PLATFORM_FAMILY" in
wenzelm@50197
   102
  linux)
wenzelm@50197
   103
    PDF_VIEWER="xdg-open"
wenzelm@50197
   104
    ;;
wenzelm@50197
   105
  macos)
wenzelm@52450
   106
    PDF_VIEWER="open -W -n -a Safari"
wenzelm@50197
   107
    ;;
wenzelm@50197
   108
  windows)
wenzelm@50197
   109
    PDF_VIEWER="cygstart"
wenzelm@50197
   110
    ;;
wenzelm@50197
   111
esac
wenzelm@50197
   112
wenzelm@50197
   113
# DVI file viewer (command-line to eval)
wenzelm@3062
   114
DVI_VIEWER=xdvi
wenzelm@2345
   115
kleing@15218
   116
wenzelm@2426
   117
###
wenzelm@37058
   118
### Rendering information
wenzelm@37058
   119
###
wenzelm@37058
   120
wenzelm@43484
   121
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
wenzelm@37058
   122
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   123
wenzelm@37058
   124
wenzelm@37058
   125
###
wenzelm@49000
   126
### Misc old-style settings
wenzelm@7185
   127
###
wenzelm@7185
   128
wenzelm@49000
   129
# Standard ML of New Jersey (slow!)
wenzelm@49000
   130
#ML_SYSTEM=smlnj-110
wenzelm@49000
   131
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@49000
   132
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
wenzelm@49000
   133
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@49000
   134
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@49000
   135
wenzelm@41968
   136
# Misc programming languages
wenzelm@48187
   137
#ISABELLE_GHC="/usr/bin/ghc"
wenzelm@48187
   138
#ISABELLE_OCAML="/usr/bin/ocaml"
wenzelm@48187
   139
#ISABELLE_SWIPL="/usr/bin/swipl"