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