Mercurial > repl
annotate swank-all.sh @ 5:8fd75396715d
modified swank-all script
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 01 Mar 2012 05:44:09 -0700 |
parents | 1579e83305d7 |
children |
rev | line source |
---|---|
rlm@1 | 1 #!/bin/sh |
rlm@1 | 2 |
rlm@2 | 3 cd /home/r/tmp |
rlm@2 | 4 |
rlm@1 | 5 S_EXPR="" |
rlm@1 | 6 |
rlm@1 | 7 if [ "$1" = "--repl" ]; then |
rlm@1 | 8 ACTION="--repl" |
rlm@1 | 9 else |
rlm@2 | 10 S_EXPR="(do (require 'swank.swank)\ |
rlm@2 | 11 (require 'rlm.rlm-commands)\ |
rlm@2 | 12 (swank.swank/start-repl 4005 ))" |
rlm@1 | 13 ACTION=" -e " |
rlm@1 | 14 fi |
rlm@1 | 15 |
rlm@1 | 16 java \ |
rlm@1 | 17 \ |
rlm@1 | 18 `: # java VM options`\ |
rlm@1 | 19 -verbose:gc \ |
rlm@1 | 20 -Xmn500M \ |
rlm@1 | 21 -Xms2000M \ |
rlm@1 | 22 -Xmx2000M \ |
rlm@1 | 23 -server \ |
rlm@1 | 24 \ |
rlm@1 | 25 `: # classpath contains all of my projects.`\ |
rlm@1 | 26 -cp \ |
rlm@1 | 27 \ |
rlm@1 | 28 `: # my own projects`\ |
rlm@1 | 29 /home/r/proj/rlm/src:\ |
rlm@1 | 30 /home/r/proj/curry/src:\ |
rlm@1 | 31 /home/r/java/lib/*:\ |
rlm@1 | 32 /home/r/proj/aurellem/src:\ |
rlm@1 | 33 /home/r/proj/pokemon-types/src:\ |
rlm@1 | 34 /home/r/proj/cortex/src:\ |
rlm@1 | 35 /home/r/proj/cortex/assets:\ |
rlm@1 | 36 /home/r/proj/abomination/src:\ |
rlm@1 | 37 /home/r/proj/abomination/classes:\ |
rlm@1 | 38 /home/r/proj/coderloop/src:\ |
rlm@1 | 39 \ |
rlm@1 | 40 `: # libraries`\ |
rlm@1 | 41 /home/r/java/incanter/*:\ |
rlm@1 | 42 /home/r/java/enlive/src:\ |
rlm@1 | 43 /home/r/java/lp_solve-5.5/lib/lpsolve55j.jar:\ |
rlm@1 | 44 /home/r/proj/jMonkeyEngine3/dist/jMonkeyEngine3.jar:\ |
rlm@1 | 45 /home/r/proj/jMonkeyEngine3/dist/lib/*:\ |
rlm@1 | 46 \ |
rlm@1 | 47 \ |
rlm@1 | 48 `: # interfacing with C libraries`\ |
rlm@1 | 49 -Djava.library.path=\ |
rlm@1 | 50 /home/r/java/lp_solve-5.5/lpsolve55/bin/ux64:\ |
rlm@1 | 51 /home/r/java/lp_solve-5.5-java/lib/ux64\ |
rlm@1 | 52 \ |
rlm@1 | 53 `: # start the repl for clojure`\ |
rlm@1 | 54 \ |
rlm@1 | 55 clojure.main ${ACTION} "${S_EXPR}" |
rlm@1 | 56 |