summaryrefslogtreecommitdiff
path: root/bin/itemServer.sh
diff options
context:
space:
mode:
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