changeset 1:073974145f90

moved swank-all, and created a standalone repl script
author Robert McIntyre <rlm@mit.edu>
date Wed, 19 Oct 2011 06:26:02 -0700
parents e8171a7df761
children 1579e83305d7
files repl.sh swank-all swank-all.sh
diffstat 3 files changed, 69 insertions(+), 53 deletions(-) [+]
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/repl.sh	Wed Oct 19 06:26:02 2011 -0700
     1.3 @@ -0,0 +1,4 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +rlwrap --command clojure --complete-filenames --quote-characters='\"' --prompt-colour=yellow swank-all --repl
     1.7 +
     2.1 --- a/swank-all	Sun Oct 16 22:55:41 2011 -0700
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,53 +0,0 @@
     2.4 -#!/bin/sh
     2.5 -
     2.6 -java \
     2.7 -\
     2.8 -`: # java VM options`\
     2.9 --verbose:gc \
    2.10 --Xmn500M \
    2.11 --Xms2000M \
    2.12 --Xmx2000M \
    2.13 --server \
    2.14 -\
    2.15 -`: # classpath contains all of my projects.`\
    2.16 --cp \
    2.17 -\
    2.18 -`: # my own projects`\
    2.19 -/home/r/proj/roBin/src:\
    2.20 -/home/r/proj/roBin/lib/*:\
    2.21 -/home/r/proj/aurellem/src:\
    2.22 -/home/r/proj/pokemon-types/src:\
    2.23 -/home/r/proj/cortex/src:\
    2.24 -/home/r/proj/cortex/assets:\
    2.25 -/home/r/proj/abomination/src:\
    2.26 -/home/r/proj/abomination/classes:\
    2.27 -\
    2.28 -`: # libraries`\
    2.29 -/home/r/proj/roBin/incanter/*:\
    2.30 -/home/r/proj/roBin/enlive/src:\
    2.31 -/home/r/proj/lp_solve-5.5-java/lib/lpsolve55j.jar:\
    2.32 -/home/r/proj/jMonkeyEngine3/dist/jMonkeyEngine3.jar:\
    2.33 -/home/r/proj/jMonkeyEngine3/dist/lib/*:\
    2.34 -\
    2.35 -\
    2.36 -`: # interfacing with C libraries`\
    2.37 - -Djava.library.path=\
    2.38 -/home/r/proj/lp_solve-5.5/lpsolve-5.5/bin/ux64:\
    2.39 -/home/r/proj/lp_solve-5.5-java/lib/ux64\
    2.40 -\
    2.41 -`: # start the repl for clojure`\
    2.42 - clojure.main -e \
    2.43 -"(do                                 \
    2.44 -   (require 'swank.swank)            \
    2.45 -   (swank.swank/start-repl 4005 ))"
    2.46 -
    2.47 -
    2.48 -
    2.49 -
    2.50 -
    2.51 -# removed genesis stuff
    2.52 -#`: # Genesis Stuff.`\
    2.53 -#/home/r/proj/Genesis/src:\
    2.54 -#/home/r/proj/workspace/Gauntlet/binary:\
    2.55 -#/home/r/proj/workspace/Clips/bin:\
    2.56 -#/home/r/proj/workspace/Propagators/bin\
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/swank-all.sh	Wed Oct 19 06:26:02 2011 -0700
     3.3 @@ -0,0 +1,65 @@
     3.4 +#!/bin/sh
     3.5 +
     3.6 +S_EXPR=""
     3.7 +
     3.8 +
     3.9 +if [ "$1" = "--repl" ]; then
    3.10 +    ACTION="--repl"
    3.11 +else
    3.12 +    S_EXPR="(do (require 'swank.swank)(swank.swank/start-repl 4005 ))"
    3.13 +    ACTION=" -e "
    3.14 +fi
    3.15 +
    3.16 +
    3.17 +
    3.18 +java \
    3.19 +\
    3.20 +`: # java VM options`\
    3.21 +-verbose:gc \
    3.22 +-Xmn500M \
    3.23 +-Xms2000M \
    3.24 +-Xmx2000M \
    3.25 +-server \
    3.26 +\
    3.27 +`: # classpath contains all of my projects.`\
    3.28 +-cp \
    3.29 +\
    3.30 +`: # my own projects`\
    3.31 +/home/r/proj/rlm/src:\
    3.32 +/home/r/proj/curry/src:\
    3.33 +/home/r/java/lib/*:\
    3.34 +/home/r/proj/aurellem/src:\
    3.35 +/home/r/proj/pokemon-types/src:\
    3.36 +/home/r/proj/cortex/src:\
    3.37 +/home/r/proj/cortex/assets:\
    3.38 +/home/r/proj/abomination/src:\
    3.39 +/home/r/proj/abomination/classes:\
    3.40 +/home/r/proj/coderloop/src:\
    3.41 +\
    3.42 +`: # libraries`\
    3.43 +/home/r/java/incanter/*:\
    3.44 +/home/r/java/enlive/src:\
    3.45 +/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar:\
    3.46 +/home/r/proj/jMonkeyEngine3/dist/jMonkeyEngine3.jar:\
    3.47 +/home/r/proj/jMonkeyEngine3/dist/lib/*:\
    3.48 +\
    3.49 +\
    3.50 +`: # interfacing with C libraries`\
    3.51 + -Djava.library.path=\
    3.52 +/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64:\
    3.53 +/home/r/java/lp_solve-5.5-java/lib/ux64\
    3.54 +\
    3.55 +`: # start the repl for clojure`\
    3.56 +\
    3.57 + clojure.main ${ACTION} "${S_EXPR}"
    3.58 +# clojure.main -e "(do (require 'swank.swank)(swank.swank/start-repl 4005 ))"
    3.59 +
    3.60 +
    3.61 +
    3.62 +
    3.63 +# removed genesis stuff
    3.64 +#`: # Genesis Stuff.`\
    3.65 +#/home/r/proj/Genesis/src:\
    3.66 +#/home/r/proj/workspace/Gauntlet/binary:\
    3.67 +#/home/r/proj/workspace/Clips/bin:\
    3.68 +#/home/r/proj/workspace/Propagators/bin\