Bring things to a state where the basic DB schema gets auto-created if it doesn't...
[cfb.git] / go.sh
diff --git a/go.sh b/go.sh
new file mode 100755 (executable)
index 0000000..b546f3c
--- /dev/null
+++ b/go.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+CFB_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+echo Compiling...
+find "${CFB_ROOT}/prod" -name "*.java" | xargs javac -classpath ${CFB_ROOT}/prod:${CLASSPATH} -Xlint:deprecation
+cp -r ${CFB_ROOT}/prod/* ${CFB_ROOT}/bin/
+find "${CFB_ROOT}/prod" -name '*.class' -exec rm {} \;
+echo Launching...
+java -Djsse.enableSNIExtension=false net.jaekl.cfb.CFB $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19} ${20}