Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1Reason: Running the program in a headless environment fails. Besides, tests should be conducted in passthru.tests anyway. There is also no AppleStructorizerApplication.class, only the jar. 2 3diff --git a/makeBigJar b/makeBigJar 4index 25547020..c34d0d9c 100644 5--- a/makeBigJar 6+++ b/makeBigJar 7@@ -75,9 +75,8 @@ jars="bsh-2.1.0 \ 8 freehep-xml-2.1.1 \ 9 freehep" 10 11-# Apple specific stuff is only used if it exists and the compiled class is available 12-if test -f ../bin/lu/fisch/structorizer/application/AppleStructorizerApplication.class -a \ 13- -f AppleJavaExtensions.jar; then 14+# Apple specific stuff is only used if the jar is available 15+if test -f lib/AppleJavaExtensions.jar; then 16 jars="$jars AppleJavaExtensions" 17 fi 18 19@@ -114,12 +113,3 @@ echo "Done" 20 # remove the jar-directory 21 rm -R jar/ 22 23-if test -n "$start_compiled"; then 24- # execute the archive 25- echo; echo "Running Structorizer from all-in-one jar" 26- if test "$start_compiled" = "s"; then 27- java -jar structorizer.jar 28- else 29- java -jar structorizer.jar & 30- fi 31-fi # start block end