-
Notifications
You must be signed in to change notification settings - Fork 10
/
agenv.sh
executable file
·26 lines (17 loc) · 906 Bytes
/
agenv.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# set -x
# This script starts a Clojure REPL for command line use, or with Emacs/Slime/Swank-clojure.
#
# You may need to customize CLOJURE_PROJECTS and AGRAPH_JAVA below.
export AGRAPH_JAVA=$(readlink -f $(dirname "$0")/..)
export CLOJURE_PROJECTS=$(readlink -f "$AGRAPH_JAVA/../../..")
export AGRAPH_CLOJURE=$AGRAPH_JAVA/clojure
export CLASSPATH=$AGRAPH_CLOJURE/lib/clojure-1.0.jar
export CLASSPATH=$CLASSPATH:$AGRAPH_CLOJURE/lib/clojure-contrib-1.0.jar
export CLASSPATH=$CLASSPATH:$AGRAPH_JAVA/agraph.jar
# clojure can load src directly, so not using AOT-compilation here
export CLASSPATH=$CLASSPATH:$AGRAPH_CLOJURE/src
export CLASSPATH=$CLASSPATH:$AGRAPH_CLOJURE/test
export CLASSPATH=$CLASSPATH:$AGRAPH_CLOJURE/tutorial
export CLASSPATH=$CLASSPATH:$CLOJURE_PROJECTS/swank-clojure/src
export AGRAPH_JVM_ARGS=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog