Mercurial > repl
diff 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 |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/swank-all.sh Wed Oct 19 06:26:02 2011 -0700 1.3 @@ -0,0 +1,65 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +S_EXPR="" 1.7 + 1.8 + 1.9 +if [ "$1" = "--repl" ]; then 1.10 + ACTION="--repl" 1.11 +else 1.12 + S_EXPR="(do (require 'swank.swank)(swank.swank/start-repl 4005 ))" 1.13 + ACTION=" -e " 1.14 +fi 1.15 + 1.16 + 1.17 + 1.18 +java \ 1.19 +\ 1.20 +`: # java VM options`\ 1.21 +-verbose:gc \ 1.22 +-Xmn500M \ 1.23 +-Xms2000M \ 1.24 +-Xmx2000M \ 1.25 +-server \ 1.26 +\ 1.27 +`: # classpath contains all of my projects.`\ 1.28 +-cp \ 1.29 +\ 1.30 +`: # my own projects`\ 1.31 +/home/r/proj/rlm/src:\ 1.32 +/home/r/proj/curry/src:\ 1.33 +/home/r/java/lib/*:\ 1.34 +/home/r/proj/aurellem/src:\ 1.35 +/home/r/proj/pokemon-types/src:\ 1.36 +/home/r/proj/cortex/src:\ 1.37 +/home/r/proj/cortex/assets:\ 1.38 +/home/r/proj/abomination/src:\ 1.39 +/home/r/proj/abomination/classes:\ 1.40 +/home/r/proj/coderloop/src:\ 1.41 +\ 1.42 +`: # libraries`\ 1.43 +/home/r/java/incanter/*:\ 1.44 +/home/r/java/enlive/src:\ 1.45 +/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar:\ 1.46 +/home/r/proj/jMonkeyEngine3/dist/jMonkeyEngine3.jar:\ 1.47 +/home/r/proj/jMonkeyEngine3/dist/lib/*:\ 1.48 +\ 1.49 +\ 1.50 +`: # interfacing with C libraries`\ 1.51 + -Djava.library.path=\ 1.52 +/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64:\ 1.53 +/home/r/java/lp_solve-5.5-java/lib/ux64\ 1.54 +\ 1.55 +`: # start the repl for clojure`\ 1.56 +\ 1.57 + clojure.main ${ACTION} "${S_EXPR}" 1.58 +# clojure.main -e "(do (require 'swank.swank)(swank.swank/start-repl 4005 ))" 1.59 + 1.60 + 1.61 + 1.62 + 1.63 +# removed genesis stuff 1.64 +#`: # Genesis Stuff.`\ 1.65 +#/home/r/proj/Genesis/src:\ 1.66 +#/home/r/proj/workspace/Gauntlet/binary:\ 1.67 +#/home/r/proj/workspace/Clips/bin:\ 1.68 +#/home/r/proj/workspace/Propagators/bin\