# HG changeset patch # User Robert McIntyre # Date 1319030762 25200 # Node ID 073974145f9052fdabb766d8e145b6ed310b7ed8 # Parent e8171a7df761ee32026e602a82b0fcf33cf01b57 moved swank-all, and created a standalone repl script diff -r e8171a7df761 -r 073974145f90 repl.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/repl.sh Wed Oct 19 06:26:02 2011 -0700 @@ -0,0 +1,4 @@ +#!/bin/sh + +rlwrap --command clojure --complete-filenames --quote-characters='\"' --prompt-colour=yellow swank-all --repl + diff -r e8171a7df761 -r 073974145f90 swank-all --- a/swank-all Sun Oct 16 22:55:41 2011 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,53 +0,0 @@ -#!/bin/sh - -java \ -\ -`: # java VM options`\ --verbose:gc \ --Xmn500M \ --Xms2000M \ --Xmx2000M \ --server \ -\ -`: # classpath contains all of my projects.`\ --cp \ -\ -`: # my own projects`\ -/home/r/proj/roBin/src:\ -/home/r/proj/roBin/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:\ -\ -`: # libraries`\ -/home/r/proj/roBin/incanter/*:\ -/home/r/proj/roBin/enlive/src:\ -/home/r/proj/lp_solve-5.5-java/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/proj/lp_solve-5.5/lpsolve-5.5/bin/ux64:\ -/home/r/proj/lp_solve-5.5-java/lib/ux64\ -\ -`: # start the repl for clojure`\ - clojure.main -e \ -"(do \ - (require 'swank.swank) \ - (swank.swank/start-repl 4005 ))" - - - - - -# removed genesis stuff -#`: # Genesis Stuff.`\ -#/home/r/proj/Genesis/src:\ -#/home/r/proj/workspace/Gauntlet/binary:\ -#/home/r/proj/workspace/Clips/bin:\ -#/home/r/proj/workspace/Propagators/bin\ diff -r e8171a7df761 -r 073974145f90 swank-all.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/swank-all.sh Wed Oct 19 06:26:02 2011 -0700 @@ -0,0 +1,65 @@ +#!/bin/sh + +S_EXPR="" + + +if [ "$1" = "--repl" ]; then + ACTION="--repl" +else + S_EXPR="(do (require 'swank.swank)(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}" +# clojure.main -e "(do (require 'swank.swank)(swank.swank/start-repl 4005 ))" + + + + +# removed genesis stuff +#`: # Genesis Stuff.`\ +#/home/r/proj/Genesis/src:\ +#/home/r/proj/workspace/Gauntlet/binary:\ +#/home/r/proj/workspace/Clips/bin:\ +#/home/r/proj/workspace/Propagators/bin\