summaryrefslogtreecommitdiff
path: root/bin/itemServer.sh
diff options
context:
space:
mode:
authorAndrew Branson <andrew@andrewbranson.net>2011-06-21 15:46:02 +0200
committerAndrew Branson <andrew@andrewbranson.net>2011-06-21 15:46:02 +0200
commit254ee6f47eebfc00462c10756a92066e82cc1a96 (patch)
tree8273ff95c704e6faa3f92b4711253427b9ba0481 /bin/itemServer.sh
Initial commit2.2
Diffstat (limited to 'bin/itemServer.sh')
-rwxr-xr-xbin/itemServer.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/itemServer.sh b/bin/itemServer.sh
new file mode 100755
index 0000000..3b32543
--- /dev/null
+++ b/bin/itemServer.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+CRISTAL2_HOME=/home/dracor/workspace/cristal-kernel
+
+for i in ${CRISTAL2_HOME}/lib/*.jar;
+ do
+ test -f $i || continue
+ LOCALCLASSPATH=${LOCALCLASSPATH}:${i}
+ echo ${i}
+ done
+
+LOCALCLASSPATH=${LOCALCLASSPATH}:${CRISTAL2_HOME}/build/lib/c2kernel.jar
+
+rm -f ${CRISTAL2_HOME}/serverLog.txt
+java -Xmx256m -Xbootclasspath/p:${CRISTAL2_HOME}/lib/OB.jar -classpath ${LOCALCLASSPATH} com.c2kernel.process.StandardServer -logFile ${CRISTAL2_HOME}/serverLog.txt -logLevel 8 -config ${CRISTAL2_HOME}/bin/conf/server.conf -connect ${CRISTAL2_HOME}/connect/uwe.clc