Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1Reason: There is no StructorizerApplet.java anywhere in the source, no .cgt files and running the program in a headless environment fails. Besides, tests should be conducted in passthru.tests anyway. There is also no AppleStructorizerApplication.java, only the jar. 2 3diff --git a/makeStructorizer b/makeStructorizer 4index 99a5e8d3..e954be13 100644 5--- a/makeStructorizer 6+++ b/makeStructorizer 7@@ -117,18 +117,6 @@ echo "Done" 8 echo; echo "Compiling Structorizer..." 9 javac $str_javac_opts -classpath "$str_classpath" Structorizer.java 10 echo "Done" 11-echo; echo "Compiling Structorizer Applet..." 12-javac $str_javac_opts -classpath "$str_classpath" StructorizerApplet.java 13-echo "Done" 14- 15-# OS specific classes 16-if test -n "$do_apple"; then 17- echo; echo "Compiling Apple specific code..." 18- javac $str_javac_opts -classpath "$str_classpath" lu/fisch/structorizer/application/AppleStructorizerApplication.java 19- echo "Done" 20-else 21- echo; echo "Apple specific code skipped" 22-fi 23 24 # copying some other files to binary tree 25 echo; echo "Copying resources..." 26@@ -147,7 +135,6 @@ cp lu/fisch/structorizer/gui/*.txt ../bin/lu/fisch/structorizer/gui/ 27 cp lu/fisch/structorizer/gui/*.xml ../bin/lu/fisch/structorizer/gui/ 28 cp lu/fisch/structorizer/locales/*.txt ../bin/lu/fisch/structorizer/locales/ 29 cp lu/fisch/structorizer/generators/*.txt ../bin/lu/fisch/structorizer/generators/ 30-cp lu/fisch/structorizer/parsers/*.cgt ../bin/lu/fisch/structorizer/parsers/ 31 cp lu/fisch/structorizer/parsers/*.egt ../bin/lu/fisch/structorizer/parsers/ 32 cp lu/fisch/structorizer/parsers/*.grm ../bin/lu/fisch/structorizer/parsers/ 33 cp lu/fisch/structorizer/parsers/*.xsd ../bin/lu/fisch/structorizer/parsers/ 34@@ -155,20 +142,5 @@ cp lu/fisch/structorizer/parsers/*.nsd ../bin/lu/fisch/structorizer/parsers/ 35 cp lu/fisch/structorizer/*.properties ../bin/lu/fisch/structorizer/ 36 echo "Done" 37 38-if test -n "$start_compiled"; then 39- 40- # changing into binary directory 41- cd ../bin/ 42- 43- # run the application 44- echo; echo "Running Structorizer from compiled class files" 45- if test "$start_compiled" = "s"; then 46- java -cp $str_classpath Structorizer 47- else 48- java -cp $str_classpath Structorizer & 49- fi 50- 51-fi # start block end 52- 53 # move back into the folder where we started 54 popd >/dev/null