annotate swank-all.sh @ 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
children 1579e83305d7
rev   line source
rlm@1 1 #!/bin/sh
rlm@1 2
rlm@1 3 S_EXPR=""
rlm@1 4
rlm@1 5
rlm@1 6 if [ "$1" = "--repl" ]; then
rlm@1 7 ACTION="--repl"
rlm@1 8 else
rlm@1 9 S_EXPR="(do (require 'swank.swank)(swank.swank/start-repl 4005 ))"
rlm@1 10 ACTION=" -e "
rlm@1 11 fi
rlm@1 12
rlm@1 13
rlm@1 14
rlm@1 15 java \
rlm@1 16 \
rlm@1 17 `: # java VM options`\
rlm@1 18 -verbose:gc \
rlm@1 19 -Xmn500M \
rlm@1 20 -Xms2000M \
rlm@1 21 -Xmx2000M \
rlm@1 22 -server \
rlm@1 23 \
rlm@1 24 `: # classpath contains all of my projects.`\
rlm@1 25 -cp \
rlm@1 26 \
rlm@1 27 `: # my own projects`\
rlm@1 28 /home/r/proj/rlm/src:\
rlm@1 29 /home/r/proj/curry/src:\
rlm@1 30 /home/r/java/lib/*:\
rlm@1 31 /home/r/proj/aurellem/src:\
rlm@1 32 /home/r/proj/pokemon-types/src:\
rlm@1 33 /home/r/proj/cortex/src:\
rlm@1 34 /home/r/proj/cortex/assets:\
rlm@1 35 /home/r/proj/abomination/src:\
rlm@1 36 /home/r/proj/abomination/classes:\
rlm@1 37 /home/r/proj/coderloop/src:\
rlm@1 38 \
rlm@1 39 `: # libraries`\
rlm@1 40 /home/r/java/incanter/*:\
rlm@1 41 /home/r/java/enlive/src:\
rlm@1 42 /home/r/java/lp_solve-5.5/lib/lpsolve55j.jar:\
rlm@1 43 /home/r/proj/jMonkeyEngine3/dist/jMonkeyEngine3.jar:\
rlm@1 44 /home/r/proj/jMonkeyEngine3/dist/lib/*:\
rlm@1 45 \
rlm@1 46 \
rlm@1 47 `: # interfacing with C libraries`\
rlm@1 48 -Djava.library.path=\
rlm@1 49 /home/r/java/lp_solve-5.5/lpsolve55/bin/ux64:\
rlm@1 50 /home/r/java/lp_solve-5.5-java/lib/ux64\
rlm@1 51 \
rlm@1 52 `: # start the repl for clojure`\
rlm@1 53 \
rlm@1 54 clojure.main ${ACTION} "${S_EXPR}"
rlm@1 55 # clojure.main -e "(do (require 'swank.swank)(swank.swank/start-repl 4005 ))"
rlm@1 56
rlm@1 57
rlm@1 58
rlm@1 59
rlm@1 60 # removed genesis stuff
rlm@1 61 #`: # Genesis Stuff.`\
rlm@1 62 #/home/r/proj/Genesis/src:\
rlm@1 63 #/home/r/proj/workspace/Gauntlet/binary:\
rlm@1 64 #/home/r/proj/workspace/Clips/bin:\
rlm@1 65 #/home/r/proj/workspace/Propagators/bin\