| author | wenzelm | 
| Mon, 26 Aug 2019 20:01:28 +0200 | |
| changeset 70610 | d14ddb1df52c | 
| parent 70576 | 3554531505a8 | 
| child 70686 | 9cde8c4ea5a5 | 
| permissions | -rwxr-xr-x | 
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 1 | #!/usr/bin/env bash | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 2 | # | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 3 | # Author: Makarius | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 4 | # | 
| 42899 | 5 | # build-jars - build Isabelle/Scala | 
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 6 | # | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 7 | # Requires proper Isabelle settings environment. | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 8 | |
| 43320 | 9 | ## sources | 
| 10 | ||
| 11 | declare -a SOURCES=( | |
| 66820 | 12 | Admin/afp.scala | 
| 65071 | 13 | Admin/build_cygwin.scala | 
| 64161 | 14 | Admin/build_doc.scala | 
| 69339 | 15 | Admin/build_fonts.scala | 
| 64160 | 16 | Admin/build_history.scala | 
| 64929 | 17 | Admin/build_jdk.scala | 
| 64160 | 18 | Admin/build_log.scala | 
| 64483 | 19 | Admin/build_polyml.scala | 
| 64202 | 20 | Admin/build_release.scala | 
| 65743 | 21 | Admin/build_status.scala | 
| 64161 | 22 | Admin/check_sources.scala | 
| 64160 | 23 | Admin/ci_profile.scala | 
| 69426 | 24 | Admin/components.scala | 
| 64148 | 25 | Admin/isabelle_cronjob.scala | 
| 65770 | 26 | Admin/isabelle_devel.scala | 
| 65650 | 27 | Admin/jenkins.scala | 
| 64188 | 28 | Admin/other_isabelle.scala | 
| 56695 
963732291084
consumer thread with unbounded queueing of requests (similar to Message_Channel in ML);
 wenzelm parents: 
56693diff
changeset | 29 | Concurrent/consumer_thread.scala | 
| 43660 | 30 | Concurrent/counter.scala | 
| 56768 | 31 | Concurrent/event_timer.scala | 
| 43320 | 32 | Concurrent/future.scala | 
| 56693 | 33 | Concurrent/mailbox.scala | 
| 59136 
c2b23cb8a677
added Par_List in Scala, in accordance to ML version;
 wenzelm parents: 
58928diff
changeset | 34 | Concurrent/par_list.scala | 
| 61556 | 35 | Concurrent/standard_thread.scala | 
| 56685 | 36 | Concurrent/synchronized.scala | 
| 57647 | 37 | GUI/color_value.scala | 
| 38 | GUI/gui.scala | |
| 39 | GUI/gui_thread.scala | |
| 40 | GUI/popup.scala | |
| 41 | GUI/wrap_panel.scala | |
| 55511 
984e210d412e
antiquotations within plain text: Scala version in accordance to ML;
 wenzelm parents: 
55497diff
changeset | 42 | General/antiquote.scala | 
| 54439 | 43 | General/bytes.scala | 
| 68265 | 44 | General/cache.scala | 
| 64610 | 45 | General/codepoint.scala | 
| 67438 | 46 | General/comment.scala | 
| 55673 
0286219c1261
clarified module location (again, see 763d35697338);
 wenzelm parents: 
55511diff
changeset | 47 | General/completion.scala | 
| 67737 | 48 | General/csv.scala | 
| 64056 | 49 | General/date.scala | 
| 62508 
d0b68218ea55
discontinued RAW session: bootstrap directly from isabelle_process RAW_ML_SYSTEM;
 wenzelm parents: 
62452diff
changeset | 50 | General/exn.scala | 
| 48411 
5b3440850d36
more abstract file system operations in Scala, corresponding to ML version;
 wenzelm parents: 
48410diff
changeset | 51 | General/file.scala | 
| 64699 | 52 | General/file_watcher.scala | 
| 46611 | 53 | General/graph.scala | 
| 59244 
19b5fc4b2b38
more uniform support for graph display in ML/Scala;
 wenzelm parents: 
59232diff
changeset | 54 | General/graph_display.scala | 
| 51098 | 55 | General/graphics_file.scala | 
| 65077 | 56 | General/http.scala | 
| 63644 | 57 | General/json.scala | 
| 43320 | 58 | General/linear_set.scala | 
| 64606 | 59 | General/logger.scala | 
| 56800 | 60 | General/long_name.scala | 
| 63997 
e11ccb5aa82f
more formal Mercurial support (with the potential to upgrade to command server);
 wenzelm parents: 
63823diff
changeset | 61 | General/mercurial.scala | 
| 52975 | 62 | General/multi_map.scala | 
| 56782 
433cf57550fa
more systematic Isabelle output, like in classic Isabelle/ML (without markup);
 wenzelm parents: 
56768diff
changeset | 63 | General/output.scala | 
| 43600 
4ac04bf9ff89
abstract algebra of file paths in Scala (cf. path.ML);
 wenzelm parents: 
43523diff
changeset | 64 | General/path.scala | 
| 43320 | 65 | General/position.scala | 
| 66 | General/pretty.scala | |
| 43780 | 67 | General/properties.scala | 
| 69807 | 68 | General/rdf.scala | 
| 43320 | 69 | General/scan.scala | 
| 70 | General/sha1.scala | |
| 63788 | 71 | General/sql.scala | 
| 64123 | 72 | General/ssh.scala | 
| 43320 | 73 | General/symbol.scala | 
| 45674 | 74 | General/time.scala | 
| 45666 | 75 | General/timing.scala | 
| 57647 | 76 | General/untyped.scala | 
| 56501 
5fda9e5c5874
basic URL operations (with Isabelle/Scala error handling);
 wenzelm parents: 
56429diff
changeset | 77 | General/url.scala | 
| 64639 | 78 | General/utf8.scala | 
| 69458 | 79 | General/uuid.scala | 
| 63805 | 80 | General/value.scala | 
| 56599 | 81 | General/word.scala | 
| 64000 | 82 | General/xz.scala | 
| 63604 | 83 | Isar/document_structure.scala | 
| 43320 | 84 | Isar/keyword.scala | 
| 63603 | 85 | Isar/line_structure.scala | 
| 43320 | 86 | Isar/outer_syntax.scala | 
| 87 | Isar/parse.scala | |
| 88 | Isar/token.scala | |
| 65477 | 89 | ML/ml_console.scala | 
| 55497 | 90 | ML/ml_lex.scala | 
| 65477 | 91 | ML/ml_process.scala | 
| 92 | ML/ml_statistics.scala | |
| 62528 | 93 | ML/ml_syntax.scala | 
| 69448 | 94 | PIDE/byte_message.scala | 
| 43320 | 95 | PIDE/command.scala | 
| 57905 
c0c5652e796e
separate module Command_Span: mostly syntactic representation;
 wenzelm parents: 
57900diff
changeset | 96 | PIDE/command_span.scala | 
| 43320 | 97 | PIDE/document.scala | 
| 52530 
99dd8b4ef3fe
explicit module Document_ID as source of globally unique identifiers across ML/Scala;
 wenzelm parents: 
52444diff
changeset | 98 | PIDE/document_id.scala | 
| 68758 | 99 | PIDE/document_status.scala | 
| 52971 
31926d2c04ee
tuned signature -- more abstract PIDE editor operations;
 wenzelm parents: 
52671diff
changeset | 100 | PIDE/editor.scala | 
| 69012 | 101 | PIDE/headless.scala | 
| 64611 | 102 | PIDE/line.scala | 
| 45670 | 103 | PIDE/markup.scala | 
| 43320 | 104 | PIDE/markup_tree.scala | 
| 45709 
87017fcbad83
clarified modules (again) -- NB: both Document and Protocol are specific to this particular prover;
 wenzelm parents: 
45674diff
changeset | 105 | PIDE/protocol.scala | 
| 65214 | 106 | PIDE/protocol_handlers.scala | 
| 59713 | 107 | PIDE/protocol_message.scala | 
| 56385 | 108 | PIDE/prover.scala | 
| 52981 | 109 | PIDE/query_operation.scala | 
| 64622 
529bbb8977c7
more uniform rendering for Isabelle/jEdit and Isabelle/VSCode;
 wenzelm parents: 
64617diff
changeset | 110 | PIDE/rendering.scala | 
| 56208 | 111 | PIDE/resources.scala | 
| 56210 | 112 | PIDE/session.scala | 
| 43320 | 113 | PIDE/text.scala | 
| 44698 | 114 | PIDE/xml.scala | 
| 115 | PIDE/yxml.scala | |
| 57647 | 116 | ROOT.scala | 
| 62584 | 117 | System/bash.scala | 
| 61925 | 118 | System/command_line.scala | 
| 61282 | 119 | System/cygwin.scala | 
| 62845 | 120 | System/distribution.scala | 
| 62431 | 121 | System/getopts.scala | 
| 43744 
2c7e1565b4a3
some support to invoke Scala methods under program control;
 wenzelm parents: 
43730diff
changeset | 122 | System/invoke_scala.scala | 
| 43517 | 123 | System/isabelle_charset.scala | 
| 69355 | 124 | System/isabelle_fonts.scala | 
| 43320 | 125 | System/isabelle_process.scala | 
| 126 | System/isabelle_system.scala | |
| 62829 
4141c2a8458b
clarified Isabelle tool wrapper: bash, Scala, no perl, no ML;
 wenzelm parents: 
62631diff
changeset | 127 | System/isabelle_tool.scala | 
| 64264 
42138702d6ec
support for Non-Uniform Memory Access of separate CPU nodes;
 wenzelm parents: 
64202diff
changeset | 128 | System/numa.scala | 
| 48365 
d88aefda01c4
basic support for stand-alone options with external string representation;
 wenzelm parents: 
48346diff
changeset | 129 | System/options.scala | 
| 43320 | 130 | System/platform.scala | 
| 56860 | 131 | System/posix_interrupt.scala | 
| 62400 | 132 | System/process_result.scala | 
| 61276 | 133 | System/progress.scala | 
| 45027 
f459e93a038e
more abstract wrapping of fifos as System_Channel;
 wenzelm parents: 
44698diff
changeset | 134 | System/system_channel.scala | 
| 67802 | 135 | System/tty_loop.scala | 
| 67274 | 136 | Thy/bibtex.scala | 
| 68092 
888d35a19866
store exports in session database, with asynchronous / parallel compression;
 wenzelm parents: 
67848diff
changeset | 137 | Thy/export.scala | 
| 68171 | 138 | Thy/export_theory.scala | 
| 69255 
800b1ce96fce
more general support for Isabelle/PIDE file formats -- less hardwired Bibtex operations;
 wenzelm parents: 
69168diff
changeset | 139 | Thy/file_format.scala | 
| 43320 | 140 | Thy/html.scala | 
| 67172 | 141 | Thy/latex.scala | 
| 50707 
5b2bf7611662
maintain session index on Scala side, for more determistic results;
 wenzelm parents: 
50689diff
changeset | 142 | Thy/present.scala | 
| 62631 | 143 | Thy/sessions.scala | 
| 68845 
3b2daa7bf9f4
support Thy_Element in Scala, following ML version;
 wenzelm parents: 
68758diff
changeset | 144 | Thy/thy_element.scala | 
| 43320 | 145 | Thy/thy_header.scala | 
| 146 | Thy/thy_syntax.scala | |
| 57647 | 147 | Tools/build.scala | 
| 66790 | 148 | Tools/build_docker.scala | 
| 59891 
9ce697050455
added isabelle build option -k, for fast off-line checking of theory sources;
 wenzelm parents: 
59713diff
changeset | 149 | Tools/check_keywords.scala | 
| 60749 | 150 | Tools/debugger.scala | 
| 52444 
2cfe6656d6d6
slightly improved "isabelle doc" based on Isabelle/Scala;
 wenzelm parents: 
52439diff
changeset | 151 | Tools/doc.scala | 
| 69326 | 152 | Tools/dump.scala | 
| 69328 
4646fcb59121
support for fontforge and its scripting language;
 wenzelm parents: 
69326diff
changeset | 153 | Tools/fontforge.scala | 
| 65557 | 154 | Tools/imports.scala | 
| 50687 | 155 | Tools/main.scala | 
| 67041 | 156 | Tools/mkroot.scala | 
| 56864 | 157 | Tools/print_operation.scala | 
| 64342 | 158 | Tools/profiling_report.scala | 
| 66347 | 159 | Tools/server.scala | 
| 67848 
dd83610333de
added server command "session_build": similar to JEdit_Resources.session_build;
 wenzelm parents: 
67802diff
changeset | 160 | Tools/server_commands.scala | 
| 54730 | 161 | Tools/simplifier_trace.scala | 
| 65139 | 162 | Tools/spell_checker.scala | 
| 50980 | 163 | Tools/task_statistics.scala | 
| 69557 | 164 | Tools/update.scala | 
| 58610 | 165 | Tools/update_cartouches.scala | 
| 67433 
e0c0c1f0e3e7
more specific tool "isabelle update_comments", for uniformity with formal comments in embedded languages;
 wenzelm parents: 
67274diff
changeset | 166 | Tools/update_comments.scala | 
| 58872 | 167 | Tools/update_header.scala | 
| 61216 | 168 | Tools/update_then.scala | 
| 61337 | 169 | Tools/update_theorems.scala | 
| 43320 | 170 | library.scala | 
| 68713 | 171 | pure_thy.scala | 
| 43730 
a0ed7bc688b5
lambda terms with XML data representation in Scala;
 wenzelm parents: 
43715diff
changeset | 172 | term.scala | 
| 43779 | 173 | term_xml.scala | 
| 70576 | 174 | thm_name.scala | 
| 64609 | 175 | ../Tools/Graphview/graph_file.scala | 
| 176 | ../Tools/Graphview/graph_panel.scala | |
| 177 | ../Tools/Graphview/graphview.scala | |
| 178 | ../Tools/Graphview/layout.scala | |
| 179 | ../Tools/Graphview/main_panel.scala | |
| 180 | ../Tools/Graphview/metrics.scala | |
| 181 | ../Tools/Graphview/model.scala | |
| 182 | ../Tools/Graphview/mutator.scala | |
| 183 | ../Tools/Graphview/mutator_dialog.scala | |
| 184 | ../Tools/Graphview/mutator_event.scala | |
| 185 | ../Tools/Graphview/popups.scala | |
| 186 | ../Tools/Graphview/shapes.scala | |
| 187 | ../Tools/Graphview/tree_panel.scala | |
| 65138 | 188 | ../Tools/VSCode/src/build_vscode.scala | 
| 64609 | 189 | ../Tools/VSCode/src/channel.scala | 
| 190 | ../Tools/VSCode/src/document_model.scala | |
| 65191 
4c9c83311cad
dynamic output, depending on caret focus (see also Tools/jEdit/src/output_dockable.scala);
 wenzelm parents: 
65139diff
changeset | 191 | ../Tools/VSCode/src/dynamic_output.scala | 
| 64738 
bcdecd466cb2
generate static TextMate grammar for VSCode editor;
 wenzelm parents: 
64699diff
changeset | 192 | ../Tools/VSCode/src/grammar.scala | 
| 66098 | 193 | ../Tools/VSCode/src/preview_panel.scala | 
| 64609 | 194 | ../Tools/VSCode/src/protocol.scala | 
| 195 | ../Tools/VSCode/src/server.scala | |
| 66098 | 196 | ../Tools/VSCode/src/state_panel.scala | 
| 66211 | 197 | ../Tools/VSCode/src/vscode_javascript.scala | 
| 64622 
529bbb8977c7
more uniform rendering for Isabelle/jEdit and Isabelle/VSCode;
 wenzelm parents: 
64617diff
changeset | 198 | ../Tools/VSCode/src/vscode_rendering.scala | 
| 64623 | 199 | ../Tools/VSCode/src/vscode_resources.scala | 
| 66141 | 200 | ../Tools/VSCode/src/vscode_spell_checker.scala | 
| 43320 | 201 | ) | 
| 202 | ||
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 203 | |
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 204 | ## diagnostics | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 205 | |
| 43280 | 206 | PRG="$(basename "$0")" | 
| 207 | ||
| 208 | function usage() | |
| 209 | {
 | |
| 210 | echo | |
| 211 | echo "Usage: isabelle $PRG [OPTIONS]" | |
| 212 | echo | |
| 213 | echo " Options are:" | |
| 214 | echo " -f fresh build" | |
| 215 | echo | |
| 216 | exit 1 | |
| 217 | } | |
| 218 | ||
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 219 | function fail() | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 220 | {
 | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 221 | echo "$1" >&2 | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 222 | exit 2 | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 223 | } | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 224 | |
| 42899 | 225 | [ -z "$ISABELLE_HOME" ] && fail "Missing Isabelle settings environment" | 
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 226 | |
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 227 | |
| 43280 | 228 | ## process command line | 
| 229 | ||
| 230 | # options | |
| 231 | ||
| 232 | FRESH="" | |
| 233 | ||
| 64370 
865b39487b5d
discontinued unused / untested distinction of separate PIDE modules;
 wenzelm parents: 
64369diff
changeset | 234 | while getopts "f" OPT | 
| 43280 | 235 | do | 
| 236 | case "$OPT" in | |
| 237 | f) | |
| 238 | FRESH=true | |
| 239 | ;; | |
| 240 | \?) | |
| 241 | usage | |
| 242 | ;; | |
| 243 | esac | |
| 244 | done | |
| 245 | ||
| 246 | shift $(($OPTIND - 1)) | |
| 247 | ||
| 248 | ||
| 249 | # args | |
| 250 | ||
| 251 | [ "$#" -ne 0 ] && usage | |
| 252 | ||
| 253 | ||
| 49558 | 254 | ## build | 
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 255 | |
| 34284 | 256 | TARGET_DIR="$ISABELLE_HOME/lib/classes" | 
| 53577 | 257 | TARGET="$TARGET_DIR/Pure.jar" | 
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 258 | |
| 43405 | 259 | declare -a UPDATED=() | 
| 260 | ||
| 43280 | 261 | if [ -n "$FRESH" ]; then | 
| 262 | OUTDATED=true | |
| 263 | else | |
| 264 | OUTDATED=false | |
| 43523 | 265 | if [ ! -e "$TARGET" ]; then | 
| 266 | OUTDATED=true | |
| 267 | else | |
| 43405 | 268 |     for DEP in "${SOURCES[@]}"
 | 
| 43280 | 269 | do | 
| 43405 | 270 | [ ! -e "$DEP" ] && fail "Missing file: $DEP" | 
| 43523 | 271 |       [ "$DEP" -nt "$TARGET" ] && {
 | 
| 272 | OUTDATED=true | |
| 273 |         UPDATED["${#UPDATED[@]}"]="$DEP"
 | |
| 274 | } | |
| 43280 | 275 | done | 
| 43405 | 276 | fi | 
| 43280 | 277 | fi | 
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 278 | |
| 34284 | 279 | if [ "$OUTDATED" = true ] | 
| 280 | then | |
| 49173 
fa01a202399c
eliminated potentially confusing terminology of Scala "layer";
 wenzelm parents: 
49068diff
changeset | 281 | echo "### Building Isabelle/Scala ..." | 
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 282 | |
| 43405 | 283 |   [ "${#UPDATED[@]}" -gt 0 ] && {
 | 
| 284 | echo "Changed files:" | |
| 285 |     for FILE in "${UPDATED[@]}"
 | |
| 286 | do | |
| 287 | echo " $FILE" | |
| 288 | done | |
| 289 | } | |
| 290 | ||
| 64375 
74a2af7c5145
remove old target: it is on the classpath and may break scalac;
 wenzelm parents: 
64370diff
changeset | 291 | rm -f "$TARGET" | 
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 292 | rm -rf classes && mkdir classes | 
| 45673 
cd41e3903fbf
separate compilation of PIDE vs. Pure sources, which enables independent Scala library;
 wenzelm parents: 
45672diff
changeset | 293 | |
| 64900 | 294 | SCALAC_OPTIONS="$ISABELLE_SCALAC_OPTIONS -d classes" | 
| 45673 
cd41e3903fbf
separate compilation of PIDE vs. Pure sources, which enables independent Scala library;
 wenzelm parents: 
45672diff
changeset | 295 | |
| 50689 | 296 | ( | 
| 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: 
53519diff
changeset | 297 | classpath classes | 
| 61294 | 298 | export CLASSPATH="$(platform_path "$ISABELLE_CLASSPATH")" | 
| 50689 | 299 | |
| 64370 
865b39487b5d
discontinued unused / untested distinction of separate PIDE modules;
 wenzelm parents: 
64369diff
changeset | 300 |     isabelle_scala scalac $SCALAC_OPTIONS "${SOURCES[@]}" || \
 | 
| 
865b39487b5d
discontinued unused / untested distinction of separate PIDE modules;
 wenzelm parents: 
64369diff
changeset | 301 | fail "Failed to compile sources" | 
| 51508 | 302 | ) || exit "$?" | 
| 45673 
cd41e3903fbf
separate compilation of PIDE vs. Pure sources, which enables independent Scala library;
 wenzelm parents: 
45672diff
changeset | 303 | |
| 53577 | 304 | mkdir -p "$TARGET_DIR" || fail "Failed to create directory $TARGET_DIR" | 
| 43280 | 305 | |
| 43285 | 306 | pushd classes >/dev/null | 
| 43280 | 307 | |
| 43517 | 308 | CHARSET_SERVICE="META-INF/services/java.nio.charset.spi.CharsetProvider" | 
| 309 | mkdir -p "$(dirname "$CHARSET_SERVICE")" | |
| 310 | echo isabelle.Isabelle_Charset_Provider > "$CHARSET_SERVICE" | |
| 311 | ||
| 54676 
6b2ca4850b71
uniform use of transparent icons, as for main "apps";
 wenzelm parents: 
54671diff
changeset | 312 | cp "$ISABELLE_HOME/lib/logo/isabelle_transparent-32.gif" isabelle/. | 
| 54709 | 313 | cp "$ISABELLE_HOME/lib/logo/isabelle_transparent.gif" isabelle/. | 
| 53452 
8181bc357dc4
more portable access to icon -- avoid Isabelle_System which is not yet initialized in bootstrap;
 wenzelm parents: 
53279diff
changeset | 314 | |
| 61294 | 315 | isabelle_jdk jar cfe "$(platform_path "$TARGET")" isabelle.Main META-INF isabelle || \ | 
| 43523 | 316 | fail "Failed to produce $TARGET" | 
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 317 | |
| 43280 | 318 | popd >/dev/null | 
| 319 | ||
| 34282 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 320 | rm -rf classes | 
| 
549969a7f582
simplified build/bootstrap of Isabelle/Scala components -- avoid make;
 wenzelm parents: diff
changeset | 321 | fi |