# HG changeset patch # User wenzelm # Date 1378738926 -7200 # Node ID 009d3bcf6907e0c4ebe110c3e24c35b8aa6536ad # Parent fc87164e3577a04e2bc2bf3f5d074a6079f26e03 generate application Info.plist based on $ISABELLE_JAVA_SYSTEM_OPTIONS $JEDIT_JAVA_OPTIONS $JEDIT_SYSTEM_OPTIONS at build time (see also lib/Tools/java and src/Tools/jEdit/lib/Tools/jedit); diff -r fc87164e3577 -r 009d3bcf6907 Admin/MacOS/App3/Info.plist --- a/Admin/MacOS/App3/Info.plist Mon Sep 09 16:15:48 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ - - - - -CFBundleDevelopmentRegion -English -CFBundleExecutable -JavaAppLauncher -CFBundleIconFile -isabelle.icns -CFBundleIdentifier -de.tum.in.isabelle -CFBundleDisplayName -{ISABELLE_NAME} -CFBundleInfoDictionaryVersion -6.0 -CFBundleName -{ISABELLE_NAME} -CFBundlePackageType -APPL -CFBundleShortVersionString -1.0 -CFBundleSignature -???? -CFBundleVersion -1 -NSHumanReadableCopyright - -LSApplicationCategoryType -public.app-category.developer-tools -JVMRuntime -jdk -JVMMainClassName -isabelle.Main -JVMOptions - --Dapple.laf.useScreenMenuBar=true -Xms128m -Xmx1024m -Xss2m -Dactors.corePoolSize=4 -Dactors.enableForkJoin=false --Disabelle.home=$APP_ROOT/Contents/Resources/{ISABELLE_NAME} - -JVMArguments - - - - - diff -r fc87164e3577 -r 009d3bcf6907 Admin/MacOS/App3/Info.plist-part1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Admin/MacOS/App3/Info.plist-part1 Mon Sep 09 17:02:06 2013 +0200 @@ -0,0 +1,36 @@ + + + + +CFBundleDevelopmentRegion +English +CFBundleExecutable +JavaAppLauncher +CFBundleIconFile +isabelle.icns +CFBundleIdentifier +de.tum.in.isabelle +CFBundleDisplayName +{ISABELLE_NAME} +CFBundleInfoDictionaryVersion +6.0 +CFBundleName +{ISABELLE_NAME} +CFBundlePackageType +APPL +CFBundleShortVersionString +1.0 +CFBundleSignature +???? +CFBundleVersion +1 +NSHumanReadableCopyright + +LSApplicationCategoryType +public.app-category.developer-tools +JVMRuntime +jdk +JVMMainClassName +isabelle.Main +JVMOptions + diff -r fc87164e3577 -r 009d3bcf6907 Admin/MacOS/App3/Info.plist-part2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Admin/MacOS/App3/Info.plist-part2 Mon Sep 09 17:02:06 2013 +0200 @@ -0,0 +1,7 @@ +-Disabelle.home=$APP_ROOT/Contents/Resources/{ISABELLE_NAME} + +JVMArguments + + + + diff -r fc87164e3577 -r 009d3bcf6907 Admin/lib/Tools/makedist_bundle --- a/Admin/lib/Tools/makedist_bundle Mon Sep 09 16:15:48 2013 +0200 +++ b/Admin/lib/Tools/makedist_bundle Mon Sep 09 17:02:06 2013 +0200 @@ -219,8 +219,18 @@ mkdir -p "$APP/Contents/$NAME" done - cat "$APP_TEMPLATE/Info.plist" | \ - perl -p -e "s,{ISABELLE_NAME},${ISABELLE_NAME},g;" > "$APP/Contents/Info.plist" + ( + cat "$APP_TEMPLATE/Info.plist-part1" + + declare -a OPTIONS=() + eval "OPTIONS=($ISABELLE_JAVA_SYSTEM_OPTIONS $JEDIT_JAVA_OPTIONS $JEDIT_SYSTEM_OPTIONS)" + for OPT in "${OPTIONS[@]}" + do + echo "$OPT" + done + + cat "$APP_TEMPLATE/Info.plist-part2" + ) | perl -p -e "s,{ISABELLE_NAME},${ISABELLE_NAME},g;" > "$APP/Contents/Info.plist" for NAME in Pure.jar scala-compiler.jar scala-library.jar scala-swing.jar scala-actors.jar scala-reflect.jar do