Mercurial > repl
diff rlm/swank-all.pl @ 6:e22ae14fa9d5
merging
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 01 Mar 2012 05:45:14 -0700 |
parents | swank-all.pl@8fd75396715d swank-all.pl@8a0edc0a0448 |
children | 913acb5a675b |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rlm/swank-all.pl Thu Mar 01 05:45:14 2012 -0700 1.3 @@ -0,0 +1,93 @@ 1.4 +#!/usr/bin/perl 1.5 + 1.6 +@JVM_options = 1.7 + ("-verbose:gc", 1.8 + "-Xmn500M", 1.9 + "-Xms3000M", 1.10 + "-Xmx3000M", 1.11 + "-server"); 1.12 + 1.13 +@classpath_projects = 1.14 + ("/home/r/proj/rlm/src", 1.15 + "/home/r/proj/dylan/src", 1.16 + "/home/r/proj/curry/src", 1.17 + "/home/r/java/lib/*", 1.18 + "/home/r/proj/aurellem/src", 1.19 + "/home/r/proj/pokemon-types/src", 1.20 + "/home/r/proj/cortex/src", 1.21 + "/home/r/proj/cortex/assets", 1.22 + "/home/r/proj/abomination/src", 1.23 + "/home/r/proj/abomination/classes", 1.24 + "/home/r/proj/pony/src", 1.25 + "/home/r/proj/coderloop/src", 1.26 + "/home/r/proj/audio-send/java/dist/audio-send.jar", 1.27 + "/home/r/proj/audio-send/java/dist/audio-send-natives.jar", 1.28 + "/home/r/proj/jmeCapture/dist/jmeCapture.jar" 1.29 +); 1.30 + 1.31 +@classpath_libs = 1.32 + ("/home/r/java/incanter/*", 1.33 + "/home/r/java/enlive/src", 1.34 + "/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar", 1.35 + "/home/r/proj/jMonkeyEngine3/dist/lib/eventbus.jar", 1.36 + "/home/r/proj/jMonkeyEngine3/dist/lib/jinput.jar", 1.37 + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-blender.jar", 1.38 + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-core.jar", 1.39 + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-desktop.jar", 1.40 + 1.41 + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jogg.jar", 1.42 + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl.jar", 1.43 + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl-natives.jar", 1.44 + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-niftygui.jar", 1.45 + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-plugins.jar", 1.46 + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-terrain.jar", 1.47 + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-testdata.jar", 1.48 + "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-oggd.jar", 1.49 + "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-vorbisd.jar", 1.50 + "/home/r/proj/jMonkeyEngine3/dist/lib/lwjgl.jar", 1.51 + "/home/r/proj/jMonkeyEngine3/dist/lib/nifty-default-controls.jar", 1.52 + "/home/r/proj/jMonkeyEngine3/dist/lib/nifty-examples.jar", 1.53 + "/home/r/proj/jMonkeyEngine3/dist/lib/nifty.jar", 1.54 + "/home/r/proj/jMonkeyEngine3/dist/lib/nifty-style-black.jar", 1.55 + "/home/r/proj/jMonkeyEngine3/dist/lib/noise-0.0.1-SNAPSHOT.jar", 1.56 + "/home/r/proj/jMonkeyEngine3/dist/lib/stack-alloc.jar", 1.57 + "/home/r/proj/jMonkeyEngine3/dist/lib/vecmath.jar", 1.58 + "/home/r/proj/jMonkeyEngine3/dist/lib/xmlpull-xpp3.jar", 1.59 + 1.60 + ### physics, choose jbullet or bullet 1.61 + 1.62 + # jbullet -- has... special.... cone joints 1.63 + # "/home/r/proj/jMonkeyEngine3/dist/lib/jbullet.jar", 1.64 + # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jbullet.jar", 1.65 + 1.66 + # bullet 1.67 + "/home/r/proj/jMonkeyEngine3/dist/opt/native-bullet/jME3-bullet.jar", 1.68 + "/home/r/proj/jMonkeyEngine3/dist/opt/native-bullet/jME3-bullet-natives.jar", 1.69 + 1.70 + ); 1.71 + 1.72 +@C_libs = 1.73 + ("/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64", 1.74 + "/home/r/java/lp_solve-5.5-java/lib/ux64"); 1.75 + 1.76 + 1.77 +$JVM_options = join " ", @JVM_options; 1.78 +$classpath_projects = join ":", @classpath_projects; 1.79 +$classpath_libs = join ":", @classpath_libs; 1.80 +$C_libs = join ":", @C_libs; 1.81 + 1.82 +$clojure_launch ="clojure.main"; 1.83 +$clojure_launch .= " -e "; 1.84 +$clojure_launch .= '"'; 1.85 +$clojure_launch .= "(do (require 'swank.swank)"; 1.86 +$clojure_launch .= "(require 'rlm.rlm-commands)"; 1.87 +$clojure_launch .= "(swank.swank/start-repl 4005))"; 1.88 +$clojure_launch .= '"'; 1.89 + 1.90 +$command = "java ".$JVM_options." -cp ".$classpath_projects.":".$classpath_libs 1.91 + ." -Djava.library.path=".$C_libs." ".$clojure_launch; 1.92 + 1.93 +print "$command\n"; 1.94 + 1.95 +system($command); 1.96 +