# HG changeset patch # User Dylan Holmes # Date 1330480427 21600 # Node ID 8a0edc0a044888ef4b1e6e4d8f876ffab228c918 # Parent 1579e83305d7c5d4578f86eaa1b0107e1f6148ef created seperate folders for dylan and robert and fixed old repl script diff -r 1579e83305d7 -r 8a0edc0a0448 dylan/swank-all.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dylan/swank-all.pl Tue Feb 28 19:53:47 2012 -0600 @@ -0,0 +1,43 @@ +#!/usr/bin/perl + +$replP = $ARGV[0]; + +@JVM_options = + ("-verbose:gc", + "-Xmn500M", + "-Xms3000M", + "-Xmx3000M", + "-server"); + +@classpath_projects = ("/home/ocsenave/proj/rlm/src"); + +@classpath_libs = ("/home/ocsenave/java/lib/*"); + +@C_libs = (); + +$JVM_options = join " ", @JVM_options; +$classpath_projects = join ":", @classpath_projects; +$classpath_libs = join ":", @classpath_libs; +$C_libs = join ":", @C_libs; + +$swank_launch ="clojure.main"; +$swank_launch .= " -e "; +$swank_launch .= '"'; +$swank_launch .= "(do (require 'swank.swank)"; +$swank_launch .= "(require 'rlm.rlm-commands)"; +$swank_launch .= "(swank.swank/start-repl 4005))"; +$swank_launch .= '"'; + +$repl_launch = "clojure.main"; + +$clojure_command = $swank_launch; + +if ($replP eq "--repl") {$clojure_command = $repl_launch;} + +$command = "java $JVM_options -cp $classpath_projects:$classpath_libs" . + " -Djava.library.path=$C_libs $clojure_command"; + +print "$command\n"; + +system($command); + diff -r 1579e83305d7 -r 8a0edc0a0448 dylan/wrapped_repl.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dylan/wrapped_repl.sh Tue Feb 28 19:53:47 2012 -0600 @@ -0,0 +1,4 @@ +#!/bin/sh + +rlwrap --command clojure -f /home/ocsenave/.clojure_completions --complete-filenames --quote-characters='\"' --prompt-colour=yellow swank-all --repl + diff -r 1579e83305d7 -r 8a0edc0a0448 repl.sh --- a/repl.sh Sun Dec 11 19:58:57 2011 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -#!/bin/sh - -rlwrap --command clojure -f /home/r/.clojure_completions --complete-filenames --quote-characters='\"' --prompt-colour=yellow swank-all --repl - diff -r 1579e83305d7 -r 8a0edc0a0448 rlm/repl.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rlm/repl.sh Tue Feb 28 19:53:47 2012 -0600 @@ -0,0 +1,4 @@ +#!/bin/sh + +rlwrap --command clojure -f /home/r/.clojure_completions --complete-filenames --quote-characters='\"' --prompt-colour=yellow swank-all --repl + diff -r 1579e83305d7 -r 8a0edc0a0448 rlm/swank-all.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rlm/swank-all.pl Tue Feb 28 19:53:47 2012 -0600 @@ -0,0 +1,72 @@ +#!/usr/bin/perl + +@JVM_options = + ("-verbose:gc", + "-Xmn500M", + "-Xms3000M", + "-Xmx3000M", + "-server"); + +@classpath_projects = + ("/home/r/proj/rlm/src", + "/home/r/proj/curry/src", + "/home/r/java/lib/*", + "/home/r/proj/aurellem/src", + "/home/r/proj/pokemon-types/src", + "/home/r/proj/cortex/src", + "/home/r/proj/cortex/assets", + "/home/r/proj/abomination/src", + "/home/r/proj/abomination/classes", + "/home/r/proj/coderloop/src", + "/home/r/proj/audio-send/java/dist/audio-send.jar", + "/home/r/proj/audio-send/java/dist/audio-send-natives.jar", + "/home/r/proj/jmeCapture/dist/jmeCapture.jar" +); + +@classpath_libs = + ("/home/r/java/incanter/*", + "/home/r/java/enlive/src", + "/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-core.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-desktop.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jbullet.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl-natives.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-testdata.jar", + "/home/r/proj/jMonkeyEngine3/dist/opt/jME3-tests.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jogg.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-blender.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-plugins.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jbullet.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/lwjgl.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/vecmath.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-oggd.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-vorbisd.jar", + + ); + +@C_libs = + ("/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64", + "/home/r/java/lp_solve-5.5-java/lib/ux64"); + + +$JVM_options = join " ", @JVM_options; +$classpath_projects = join ":", @classpath_projects; +$classpath_libs = join ":", @classpath_libs; +$C_libs = join ":", @C_libs; + +$clojure_launch ="clojure.main"; +$clojure_launch .= " -e "; +$clojure_launch .= '"'; +$clojure_launch .= "(do (require 'swank.swank)"; +$clojure_launch .= "(require 'rlm.rlm-commands)"; +$clojure_launch .= "(swank.swank/start-repl 4005))"; +$clojure_launch .= '"'; + +$command = "java ".$JVM_options." -cp ".$classpath_projects.":".$classpath_libs + ." -Djava.library.path=".$C_libs." ".$clojure_launch; + +print "$command\n"; + +system($command); + diff -r 1579e83305d7 -r 8a0edc0a0448 swank-all.pl --- a/swank-all.pl Sun Dec 11 19:58:57 2011 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,72 +0,0 @@ -#!/usr/bin/perl - -@JVM_options = - ("-verbose:gc", - "-Xmn500M", - "-Xms3000M", - "-Xmx3000M", - "-server"); - -@classpath_projects = - ("/home/r/proj/rlm/src", - "/home/r/proj/curry/src", - "/home/r/java/lib/*", - "/home/r/proj/aurellem/src", - "/home/r/proj/pokemon-types/src", - "/home/r/proj/cortex/src", - "/home/r/proj/cortex/assets", - "/home/r/proj/abomination/src", - "/home/r/proj/abomination/classes", - "/home/r/proj/coderloop/src", - "/home/r/proj/audio-send/java/dist/audio-send.jar", - "/home/r/proj/audio-send/java/dist/audio-send-natives.jar", - "/home/r/proj/jmeCapture/dist/jmeCapture.jar" -); - -@classpath_libs = - ("/home/r/java/incanter/*", - "/home/r/java/enlive/src", - "/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-core.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-desktop.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jbullet.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl-natives.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-testdata.jar", - "/home/r/proj/jMonkeyEngine3/dist/opt/jME3-tests.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jogg.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-blender.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-plugins.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/jbullet.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/lwjgl.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/vecmath.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-oggd.jar", - "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-vorbisd.jar", - - ); - -@C_libs = - ("/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64", - "/home/r/java/lp_solve-5.5-java/lib/ux64"); - - -$JVM_options = join " ", @JVM_options; -$classpath_projects = join ":", @classpath_projects; -$classpath_libs = join ":", @classpath_libs; -$C_libs = join ":", @C_libs; - -$clojure_launch ="clojure.main"; -$clojure_launch .= " -e "; -$clojure_launch .= '"'; -$clojure_launch .= "(do (require 'swank.swank)"; -$clojure_launch .= "(require 'rlm.rlm-commands)"; -$clojure_launch .= "(swank.swank/start-repl 4005))"; -$clojure_launch .= '"'; - -$command = "java ".$JVM_options." -cp ".$classpath_projects.":".$classpath_libs - ." -Djava.library.path=".$C_libs." ".$clojure_launch; - -print "$command\n"; - -system($command); - diff -r 1579e83305d7 -r 8a0edc0a0448 swank-all.sh --- a/swank-all.sh Sun Dec 11 19:58:57 2011 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,56 +0,0 @@ -#!/bin/sh - -cd /home/r/tmp - -S_EXPR="" - -if [ "$1" = "--repl" ]; then - ACTION="--repl" -else - S_EXPR="(do (require 'swank.swank)\ - (require 'rlm.rlm-commands)\ - (swank.swank/start-repl 4005 ))" - ACTION=" -e " -fi - -java \ -\ -`: # java VM options`\ --verbose:gc \ --Xmn500M \ --Xms2000M \ --Xmx2000M \ --server \ -\ -`: # classpath contains all of my projects.`\ --cp \ -\ -`: # my own projects`\ -/home/r/proj/rlm/src:\ -/home/r/proj/curry/src:\ -/home/r/java/lib/*:\ -/home/r/proj/aurellem/src:\ -/home/r/proj/pokemon-types/src:\ -/home/r/proj/cortex/src:\ -/home/r/proj/cortex/assets:\ -/home/r/proj/abomination/src:\ -/home/r/proj/abomination/classes:\ -/home/r/proj/coderloop/src:\ -\ -`: # libraries`\ -/home/r/java/incanter/*:\ -/home/r/java/enlive/src:\ -/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar:\ -/home/r/proj/jMonkeyEngine3/dist/jMonkeyEngine3.jar:\ -/home/r/proj/jMonkeyEngine3/dist/lib/*:\ -\ -\ -`: # interfacing with C libraries`\ - -Djava.library.path=\ -/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64:\ -/home/r/java/lp_solve-5.5-java/lib/ux64\ -\ -`: # start the repl for clojure`\ -\ - clojure.main ${ACTION} "${S_EXPR}" -