changeset 6:e22ae14fa9d5

merging
author Robert McIntyre <rlm@mit.edu>
date Thu, 01 Mar 2012 05:45:14 -0700
parents 8fd75396715d (current diff) 8a0edc0a0448 (diff)
children 913acb5a675b
files repl.sh rlm/swank-all.pl swank-all.pl swank-all.sh
diffstat 7 files changed, 144 insertions(+), 153 deletions(-) [+]
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dylan/swank-all.pl	Thu Mar 01 05:45:14 2012 -0700
     1.3 @@ -0,0 +1,43 @@
     1.4 +#!/usr/bin/perl
     1.5 +
     1.6 +$replP =  $ARGV[0];
     1.7 +
     1.8 +@JVM_options = 
     1.9 +  ("-verbose:gc",
    1.10 +   "-Xmn500M",
    1.11 +   "-Xms3000M",
    1.12 +   "-Xmx3000M",
    1.13 +   "-server");
    1.14 +
    1.15 +@classpath_projects = ("/home/ocsenave/proj/rlm/src");
    1.16 +
    1.17 +@classpath_libs =  ("/home/ocsenave/java/lib/*");
    1.18 +
    1.19 +@C_libs = ();
    1.20 +
    1.21 +$JVM_options = join " ", @JVM_options;
    1.22 +$classpath_projects = join ":", @classpath_projects;
    1.23 +$classpath_libs = join ":", @classpath_libs;
    1.24 +$C_libs = join ":", @C_libs;
    1.25 +
    1.26 +$swank_launch ="clojure.main";
    1.27 +$swank_launch .= " -e ";
    1.28 +$swank_launch .= '"';
    1.29 +$swank_launch .= "(do (require 'swank.swank)";
    1.30 +$swank_launch .= "(require 'rlm.rlm-commands)";
    1.31 +$swank_launch .= "(swank.swank/start-repl 4005))";
    1.32 +$swank_launch .= '"';
    1.33 +
    1.34 +$repl_launch = "clojure.main";
    1.35 +
    1.36 +$clojure_command = $swank_launch;
    1.37 +
    1.38 +if ($replP eq "--repl") {$clojure_command = $repl_launch;}
    1.39 +
    1.40 +$command = "java $JVM_options -cp $classpath_projects:$classpath_libs" .
    1.41 +    " -Djava.library.path=$C_libs $clojure_command";
    1.42 +
    1.43 +print "$command\n";
    1.44 +
    1.45 +system($command);
    1.46 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/dylan/wrapped_repl.sh	Thu Mar 01 05:45:14 2012 -0700
     2.3 @@ -0,0 +1,4 @@
     2.4 +#!/bin/sh
     2.5 +
     2.6 +rlwrap --command clojure -f /home/ocsenave/.clojure_completions --complete-filenames --quote-characters='\"' --prompt-colour=yellow swank-all --repl
     2.7 +
     3.1 --- a/repl.sh	Thu Mar 01 05:44:09 2012 -0700
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,4 +0,0 @@
     3.4 -#!/bin/sh
     3.5 -
     3.6 -rlwrap --command clojure -f /home/r/.clojure_completions --complete-filenames --quote-characters='\"' --prompt-colour=yellow swank-all --repl
     3.7 -
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/rlm/repl.sh	Thu Mar 01 05:45:14 2012 -0700
     4.3 @@ -0,0 +1,4 @@
     4.4 +#!/bin/sh
     4.5 +
     4.6 +rlwrap --command clojure -f /home/r/.clojure_completions --complete-filenames --quote-characters='\"' --prompt-colour=yellow swank-all --repl
     4.7 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/rlm/swank-all.pl	Thu Mar 01 05:45:14 2012 -0700
     5.3 @@ -0,0 +1,93 @@
     5.4 +#!/usr/bin/perl
     5.5 +
     5.6 +@JVM_options = 
     5.7 +  ("-verbose:gc",
     5.8 +   "-Xmn500M",
     5.9 +   "-Xms3000M",
    5.10 +   "-Xmx3000M",
    5.11 +   "-server");
    5.12 +
    5.13 +@classpath_projects = 
    5.14 +  ("/home/r/proj/rlm/src",
    5.15 +   "/home/r/proj/dylan/src",
    5.16 +   "/home/r/proj/curry/src",
    5.17 +   "/home/r/java/lib/*",
    5.18 +   "/home/r/proj/aurellem/src",
    5.19 +   "/home/r/proj/pokemon-types/src",
    5.20 +   "/home/r/proj/cortex/src",
    5.21 +   "/home/r/proj/cortex/assets",
    5.22 +   "/home/r/proj/abomination/src",
    5.23 +   "/home/r/proj/abomination/classes",
    5.24 +   "/home/r/proj/pony/src",
    5.25 +   "/home/r/proj/coderloop/src",
    5.26 +   "/home/r/proj/audio-send/java/dist/audio-send.jar",
    5.27 +   "/home/r/proj/audio-send/java/dist/audio-send-natives.jar",
    5.28 +   "/home/r/proj/jmeCapture/dist/jmeCapture.jar"
    5.29 +);
    5.30 +
    5.31 +@classpath_libs = 
    5.32 +  ("/home/r/java/incanter/*",
    5.33 +   "/home/r/java/enlive/src",
    5.34 +   "/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar",
    5.35 +   "/home/r/proj/jMonkeyEngine3/dist/lib/eventbus.jar",
    5.36 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jinput.jar",
    5.37 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-blender.jar",
    5.38 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-core.jar",
    5.39 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-desktop.jar",
    5.40 +
    5.41 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jogg.jar",
    5.42 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl.jar",
    5.43 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl-natives.jar",
    5.44 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-niftygui.jar",
    5.45 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-plugins.jar",
    5.46 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-terrain.jar",
    5.47 +   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-testdata.jar",
    5.48 +   "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-oggd.jar",
    5.49 +   "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-vorbisd.jar",
    5.50 +   "/home/r/proj/jMonkeyEngine3/dist/lib/lwjgl.jar",
    5.51 +   "/home/r/proj/jMonkeyEngine3/dist/lib/nifty-default-controls.jar",
    5.52 +   "/home/r/proj/jMonkeyEngine3/dist/lib/nifty-examples.jar",
    5.53 +   "/home/r/proj/jMonkeyEngine3/dist/lib/nifty.jar",
    5.54 +   "/home/r/proj/jMonkeyEngine3/dist/lib/nifty-style-black.jar",
    5.55 +   "/home/r/proj/jMonkeyEngine3/dist/lib/noise-0.0.1-SNAPSHOT.jar",
    5.56 +   "/home/r/proj/jMonkeyEngine3/dist/lib/stack-alloc.jar",
    5.57 +   "/home/r/proj/jMonkeyEngine3/dist/lib/vecmath.jar",
    5.58 +   "/home/r/proj/jMonkeyEngine3/dist/lib/xmlpull-xpp3.jar",
    5.59 +
    5.60 +   ###  physics, choose jbullet or bullet
    5.61 +   
    5.62 +   # jbullet -- has... special.... cone joints
    5.63 +   # "/home/r/proj/jMonkeyEngine3/dist/lib/jbullet.jar",
    5.64 +   # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jbullet.jar",
    5.65 +
    5.66 +   # bullet
    5.67 +   "/home/r/proj/jMonkeyEngine3/dist/opt/native-bullet/jME3-bullet.jar",
    5.68 +   "/home/r/proj/jMonkeyEngine3/dist/opt/native-bullet/jME3-bullet-natives.jar",
    5.69 +
    5.70 +  );
    5.71 +
    5.72 +@C_libs = 
    5.73 +  ("/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64",
    5.74 +   "/home/r/java/lp_solve-5.5-java/lib/ux64");
    5.75 +
    5.76 +
    5.77 +$JVM_options = join " ", @JVM_options;
    5.78 +$classpath_projects = join ":", @classpath_projects;
    5.79 +$classpath_libs = join ":", @classpath_libs;
    5.80 +$C_libs = join ":", @C_libs;
    5.81 +
    5.82 +$clojure_launch ="clojure.main";
    5.83 +$clojure_launch .= " -e ";
    5.84 +$clojure_launch .= '"';
    5.85 +$clojure_launch .= "(do (require 'swank.swank)";
    5.86 +$clojure_launch .= "(require 'rlm.rlm-commands)";
    5.87 +$clojure_launch .= "(swank.swank/start-repl 4005))";
    5.88 +$clojure_launch .= '"';
    5.89 +
    5.90 +$command = "java ".$JVM_options." -cp ".$classpath_projects.":".$classpath_libs
    5.91 +  ." -Djava.library.path=".$C_libs." ".$clojure_launch;
    5.92 +
    5.93 +print "$command\n";
    5.94 +
    5.95 +system($command);
    5.96 +
     6.1 --- a/swank-all.pl	Thu Mar 01 05:44:09 2012 -0700
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,93 +0,0 @@
     6.4 -#!/usr/bin/perl
     6.5 -
     6.6 -@JVM_options = 
     6.7 -  ("-verbose:gc",
     6.8 -   "-Xmn500M",
     6.9 -   "-Xms3000M",
    6.10 -   "-Xmx3000M",
    6.11 -   "-server");
    6.12 -
    6.13 -@classpath_projects = 
    6.14 -  ("/home/r/proj/rlm/src",
    6.15 -   "/home/r/proj/dylan/src",
    6.16 -   "/home/r/proj/curry/src",
    6.17 -   "/home/r/java/lib/*",
    6.18 -   "/home/r/proj/aurellem/src",
    6.19 -   "/home/r/proj/pokemon-types/src",
    6.20 -   "/home/r/proj/cortex/src",
    6.21 -   "/home/r/proj/cortex/assets",
    6.22 -   "/home/r/proj/abomination/src",
    6.23 -   "/home/r/proj/abomination/classes",
    6.24 -   "/home/r/proj/pony/src",
    6.25 -   "/home/r/proj/coderloop/src",
    6.26 -   "/home/r/proj/audio-send/java/dist/audio-send.jar",
    6.27 -   "/home/r/proj/audio-send/java/dist/audio-send-natives.jar",
    6.28 -   "/home/r/proj/jmeCapture/dist/jmeCapture.jar"
    6.29 -);
    6.30 -
    6.31 -@classpath_libs = 
    6.32 -  ("/home/r/java/incanter/*",
    6.33 -   "/home/r/java/enlive/src",
    6.34 -   "/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar",
    6.35 -   "/home/r/proj/jMonkeyEngine3/dist/lib/eventbus.jar",
    6.36 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jinput.jar",
    6.37 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-blender.jar",
    6.38 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-core.jar",
    6.39 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-desktop.jar",
    6.40 -
    6.41 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jogg.jar",
    6.42 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl.jar",
    6.43 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl-natives.jar",
    6.44 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-niftygui.jar",
    6.45 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-plugins.jar",
    6.46 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-terrain.jar",
    6.47 -   "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-testdata.jar",
    6.48 -   "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-oggd.jar",
    6.49 -   "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-vorbisd.jar",
    6.50 -   "/home/r/proj/jMonkeyEngine3/dist/lib/lwjgl.jar",
    6.51 -   "/home/r/proj/jMonkeyEngine3/dist/lib/nifty-default-controls.jar",
    6.52 -   "/home/r/proj/jMonkeyEngine3/dist/lib/nifty-examples.jar",
    6.53 -   "/home/r/proj/jMonkeyEngine3/dist/lib/nifty.jar",
    6.54 -   "/home/r/proj/jMonkeyEngine3/dist/lib/nifty-style-black.jar",
    6.55 -   "/home/r/proj/jMonkeyEngine3/dist/lib/noise-0.0.1-SNAPSHOT.jar",
    6.56 -   "/home/r/proj/jMonkeyEngine3/dist/lib/stack-alloc.jar",
    6.57 -   "/home/r/proj/jMonkeyEngine3/dist/lib/vecmath.jar",
    6.58 -   "/home/r/proj/jMonkeyEngine3/dist/lib/xmlpull-xpp3.jar",
    6.59 -
    6.60 -   ###  physics, choose jbullet or bullet
    6.61 -   
    6.62 -   # jbullet -- has... special.... cone joints
    6.63 -   # "/home/r/proj/jMonkeyEngine3/dist/lib/jbullet.jar",
    6.64 -   # "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jbullet.jar",
    6.65 -
    6.66 -   # bullet
    6.67 -   "/home/r/proj/jMonkeyEngine3/dist/opt/native-bullet/jME3-bullet.jar",
    6.68 -   "/home/r/proj/jMonkeyEngine3/dist/opt/native-bullet/jME3-bullet-natives.jar",
    6.69 -
    6.70 -  );
    6.71 -
    6.72 -@C_libs = 
    6.73 -  ("/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64",
    6.74 -   "/home/r/java/lp_solve-5.5-java/lib/ux64");
    6.75 -
    6.76 -
    6.77 -$JVM_options = join " ", @JVM_options;
    6.78 -$classpath_projects = join ":", @classpath_projects;
    6.79 -$classpath_libs = join ":", @classpath_libs;
    6.80 -$C_libs = join ":", @C_libs;
    6.81 -
    6.82 -$clojure_launch ="clojure.main";
    6.83 -$clojure_launch .= " -e ";
    6.84 -$clojure_launch .= '"';
    6.85 -$clojure_launch .= "(do (require 'swank.swank)";
    6.86 -$clojure_launch .= "(require 'rlm.rlm-commands)";
    6.87 -$clojure_launch .= "(swank.swank/start-repl 4005))";
    6.88 -$clojure_launch .= '"';
    6.89 -
    6.90 -$command = "java ".$JVM_options." -cp ".$classpath_projects.":".$classpath_libs
    6.91 -  ." -Djava.library.path=".$C_libs." ".$clojure_launch;
    6.92 -
    6.93 -print "$command\n";
    6.94 -
    6.95 -system($command);
    6.96 -
     7.1 --- a/swank-all.sh	Thu Mar 01 05:44:09 2012 -0700
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,56 +0,0 @@
     7.4 -#!/bin/sh
     7.5 -
     7.6 -cd /home/r/tmp
     7.7 -
     7.8 -S_EXPR=""
     7.9 -
    7.10 -if [ "$1" = "--repl" ]; then
    7.11 -    ACTION="--repl"
    7.12 -else
    7.13 -    S_EXPR="(do (require 'swank.swank)\
    7.14 -                (require 'rlm.rlm-commands)\
    7.15 -                (swank.swank/start-repl 4005 ))"
    7.16 -    ACTION=" -e "
    7.17 -fi
    7.18 -
    7.19 -java \
    7.20 -\
    7.21 -`: # java VM options`\
    7.22 --verbose:gc \
    7.23 --Xmn500M \
    7.24 --Xms2000M \
    7.25 --Xmx2000M \
    7.26 --server \
    7.27 -\
    7.28 -`: # classpath contains all of my projects.`\
    7.29 --cp \
    7.30 -\
    7.31 -`: # my own projects`\
    7.32 -/home/r/proj/rlm/src:\
    7.33 -/home/r/proj/curry/src:\
    7.34 -/home/r/java/lib/*:\
    7.35 -/home/r/proj/aurellem/src:\
    7.36 -/home/r/proj/pokemon-types/src:\
    7.37 -/home/r/proj/cortex/src:\
    7.38 -/home/r/proj/cortex/assets:\
    7.39 -/home/r/proj/abomination/src:\
    7.40 -/home/r/proj/abomination/classes:\
    7.41 -/home/r/proj/coderloop/src:\
    7.42 -\
    7.43 -`: # libraries`\
    7.44 -/home/r/java/incanter/*:\
    7.45 -/home/r/java/enlive/src:\
    7.46 -/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar:\
    7.47 -/home/r/proj/jMonkeyEngine3/dist/jMonkeyEngine3.jar:\
    7.48 -/home/r/proj/jMonkeyEngine3/dist/lib/*:\
    7.49 -\
    7.50 -\
    7.51 -`: # interfacing with C libraries`\
    7.52 - -Djava.library.path=\
    7.53 -/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64:\
    7.54 -/home/r/java/lp_solve-5.5-java/lib/ux64\
    7.55 -\
    7.56 -`: # start the repl for clojure`\
    7.57 -\
    7.58 - clojure.main ${ACTION} "${S_EXPR}"
    7.59 -