rlm@2: #!/usr/bin/perl rlm@2: rlm@2: @JVM_options = rlm@2: ("-verbose:gc", rlm@2: "-Xmn500M", rlm@2: "-Xms3000M", rlm@2: "-Xmx3000M", rlm@2: "-server"); rlm@2: rlm@2: @classpath_projects = rlm@2: ("/home/r/proj/rlm/src", rlm@2: "/home/r/proj/curry/src", rlm@2: "/home/r/java/lib/*", rlm@2: "/home/r/proj/aurellem/src", rlm@2: "/home/r/proj/pokemon-types/src", rlm@2: "/home/r/proj/cortex/src", rlm@2: "/home/r/proj/cortex/assets", rlm@2: "/home/r/proj/abomination/src", rlm@2: "/home/r/proj/abomination/classes", rlm@2: "/home/r/proj/coderloop/src", rlm@2: "/home/r/proj/audio-send/java/dist/audio-send.jar", rlm@2: "/home/r/proj/audio-send/java/dist/audio-send-natives.jar", rlm@2: "/home/r/proj/jmeCapture/dist/jmeCapture.jar" rlm@2: ); rlm@2: rlm@2: @classpath_libs = rlm@2: ("/home/r/java/incanter/*", rlm@2: "/home/r/java/enlive/src", rlm@2: "/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-core.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-desktop.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jbullet.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl-natives.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-testdata.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/opt/jME3-tests.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jogg.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-blender.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-plugins.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/jbullet.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/lwjgl.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/vecmath.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-oggd.jar", rlm@2: "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-vorbisd.jar", rlm@2: rlm@2: ); rlm@2: rlm@2: @C_libs = rlm@2: ("/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64", rlm@2: "/home/r/java/lp_solve-5.5-java/lib/ux64"); rlm@2: rlm@2: rlm@2: $JVM_options = join " ", @JVM_options; rlm@2: $classpath_projects = join ":", @classpath_projects; rlm@2: $classpath_libs = join ":", @classpath_libs; rlm@2: $C_libs = join ":", @C_libs; rlm@2: rlm@2: $clojure_launch ="clojure.main"; rlm@2: $clojure_launch .= " -e "; rlm@2: $clojure_launch .= '"'; rlm@2: $clojure_launch .= "(do (require 'swank.swank)"; rlm@2: $clojure_launch .= "(require 'rlm.rlm-commands)"; rlm@2: $clojure_launch .= "(swank.swank/start-repl 4005))"; rlm@2: $clojure_launch .= '"'; rlm@2: rlm@2: $command = "java ".$JVM_options." -cp ".$classpath_projects.":".$classpath_libs rlm@2: ." -Djava.library.path=".$C_libs." ".$clojure_launch; rlm@2: rlm@2: print "$command\n"; rlm@2: rlm@2: system($command); rlm@2: