From 254ee6f47eebfc00462c10756a92066e82cc1a96 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Tue, 21 Jun 2011 15:46:02 +0200 Subject: Initial commit --- bin/itemServer.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 bin/itemServer.sh (limited to 'bin/itemServer.sh') 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 -- cgit v1.2.3