Created a new simple version of the microkernel for inclusion in the akka download and to be able to start working on sample applications
18 lines
544 B
Bash
Executable file
18 lines
544 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
declare quiet="false"
|
|
|
|
while true; do
|
|
case "$1" in
|
|
-q | --quiet ) quiet="true"; shift ;;
|
|
* ) break ;;
|
|
esac
|
|
done
|
|
|
|
declare AKKA_HOME="$(cd "$(cd "$(dirname "$0")"; pwd -P)"/..; pwd)"
|
|
|
|
[ -n "$JAVA_OPTS" ] || JAVA_OPTS="-Xms1536M -Xmx1536M -Xss1M -XX:MaxPermSize=256M -XX:+UseParallelGC"
|
|
|
|
[ -n "$AKKA_CLASSPATH" ] || AKKA_CLASSPATH="$AKKA_HOME/lib/scala-library.jar:$AKKA_HOME/lib/akka/*:$AKKA_HOME/config"
|
|
|
|
java $JAVA_OPTS -cp "$AKKA_CLASSPATH" -Dakka.home="$AKKA_HOME" -Dakka.kernel.quiet=$quiet akka.kernel.Main
|