view swank-all.pl @ 4:c0a7582262fd

added new javadoc script to deal with lack of xinemera
author Robert McIntyre <rlm@mit.edu>
date Tue, 27 Dec 2011 23:26:48 -0700
parents 1579e83305d7
children 8fd75396715d
line wrap: on
line source
1 #!/usr/bin/perl
3 @JVM_options =
4 ("-verbose:gc",
5 "-Xmn500M",
6 "-Xms3000M",
7 "-Xmx3000M",
8 "-server");
10 @classpath_projects =
11 ("/home/r/proj/rlm/src",
12 "/home/r/proj/curry/src",
13 "/home/r/java/lib/*",
14 "/home/r/proj/aurellem/src",
15 "/home/r/proj/pokemon-types/src",
16 "/home/r/proj/cortex/src",
17 "/home/r/proj/cortex/assets",
18 "/home/r/proj/abomination/src",
19 "/home/r/proj/abomination/classes",
20 "/home/r/proj/coderloop/src",
21 "/home/r/proj/audio-send/java/dist/audio-send.jar",
22 "/home/r/proj/audio-send/java/dist/audio-send-natives.jar",
23 "/home/r/proj/jmeCapture/dist/jmeCapture.jar"
24 );
26 @classpath_libs =
27 ("/home/r/java/incanter/*",
28 "/home/r/java/enlive/src",
29 "/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar",
30 "/home/r/proj/jMonkeyEngine3/dist/lib/*",
31 # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-core.jar",
32 # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-desktop.jar",
33 # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jbullet.jar",
34 # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl-natives.jar",
35 # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl.jar",
36 # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-testdata.jar",
37 # "/home/r/proj/jMonkeyEngine3/dist/opt/jME3-tests.jar",
38 # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jogg.jar",
39 # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-blender.jar",
40 # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-plugins.jar",
41 # "/home/r/proj/jMonkeyEngine3/dist/lib/jbullet.jar",
42 # "/home/r/proj/jMonkeyEngine3/dist/lib/lwjgl.jar",
43 # "/home/r/proj/jMonkeyEngine3/dist/lib/vecmath.jar",
44 # "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-oggd.jar",
45 # "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-vorbisd.jar",
47 );
49 @C_libs =
50 ("/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64",
51 "/home/r/java/lp_solve-5.5-java/lib/ux64");
54 $JVM_options = join " ", @JVM_options;
55 $classpath_projects = join ":", @classpath_projects;
56 $classpath_libs = join ":", @classpath_libs;
57 $C_libs = join ":", @C_libs;
59 $clojure_launch ="clojure.main";
60 $clojure_launch .= " -e ";
61 $clojure_launch .= '"';
62 $clojure_launch .= "(do (require 'swank.swank)";
63 $clojure_launch .= "(require 'rlm.rlm-commands)";
64 $clojure_launch .= "(swank.swank/start-repl 4005))";
65 $clojure_launch .= '"';
67 $command = "java ".$JVM_options." -cp ".$classpath_projects.":".$classpath_libs
68 ." -Djava.library.path=".$C_libs." ".$clojure_launch;
70 print "$command\n";
72 system($command);