-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenvironment.sh
26 lines (19 loc) · 923 Bytes
/
environment.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
export JAR_PATH=target/sparql-motifs-0.0.1.jar
export MOTIF_CMD_CLASS=motifs.commandline.MotifExecutor
export MERGE_CMD_CLASS=motifs.commandline.MergeExecutor
export SIFT_CMD_CLASS=motifs.commandline.SiftExecutor
export VIZ_CMD_CLASS=motifs.commandline.VizExecutor
# JAVA_OPTS is pass by scala to java
export JAVA_OPTS="-Xmx2048M -XX:+UseConcMarkSweepGC"
. classpath.sh
# export CLASSPATH=$LIB_PATH/TDB-0.8.10/lib/*:$LIB_PATH/jgrapht-0.8.2/jgrapht-jdk1.6.jar:$LIB_PATH/akka-2.0.1/lib/scala-library.jar:$LIB_PATH/akka-2.0.1/lib/akka/*:$LIB_PATH/smack/*:.
# export CLASSPATH=target/sparql-motifs-0.0.1.jar:$CLASSPATH
export SCALA_HOME=/opt/local/share/scala-2.9
export TDBROOT=//Volumes/Storage/Projects/motifs/TDB-0.8.10
export PATH=$PATH:$SCALA_HOME/bin:$TDBROOT/bin
echo "scala : ${SCALA_HOME}"
echo "tdbroot : ${TDBROOT}"
# echo "classpath : ${CLASSPATH}"
echo ""
echo ""