Added the run_akka.sh script

This commit is contained in:
Viktor Klang 2010-03-16 23:24:21 +01:00
parent 2f4d45aec0
commit db092f1a47

16
scripts/run_akka.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
cd $AKKA_HOME
VERSION=akka_2.7.7-0.7-SNAPSHOT
TARGET_DIR=dist/$1
shift 1
VMARGS=$@
if [ -d $TARGET_DIR ]; then
cd $TARGET_DIR
else
unzip dist/${VERSION}.zip -d $TARGET_DIR
cd $TARGET_DIR
fi
export AKKA_HOME=`pwd`
java -jar ${VMARGS} ${VERSION}.jar