aboutsummaryrefslogtreecommitdiffstats
path: root/testing/spark/spark.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testing/spark/spark.sh')
-rw-r--r--testing/spark/spark.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/spark/spark.sh b/testing/spark/spark.sh
new file mode 100644
index 0000000000..71a5793da0
--- /dev/null
+++ b/testing/spark/spark.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+JAVA_HOME=/usr/lib/jvm/default-jvm
+SPARKDIR=/usr/share/spark
+BIN_DIRECTORY=$SPARKDIR/bin
+RESOURCE_DIRECTORY=$SPARKDIR/resources
+PLUGIN_DIRECTORY=$SPARKDIR/plugins
+
+$JAVA_HOME/bin/java -Dappdir=$SPARKDIR \
+-cp $SPARKDIR/lib/log4j.jar:\
+$SPARKDIR/lib/jdom.jar:\
+$SPARKDIR/lib/fmj.jar:\
+$SPARKDIR/lib/startup.jar:\
+$SPARKDIR/lib/linux/jdic.jar:\
+$SPARKDIR/resources \
+org.jivesoftware.launcher.Startup