#3107 - Moving the relevant scripts and samples into the dist folder of the akka-kernel project

This commit is contained in:
Viktor Klang 2013-03-29 02:03:42 +01:00
parent 88f7e28c6b
commit 2584735ea1
3 changed files with 3 additions and 34 deletions

View file

@ -42,21 +42,11 @@ object Crypt {
}
print("""
# This config imports the Akka reference configuration.
include "akka-reference.conf"
# In this file you can override any option defined in the 'akka-reference.conf' file.
# Copy in all or parts of the 'akka-reference.conf' file and modify as you please.
akka {
remote {
netty {
secure-cookie = """")
print(Crypt.generateSecureCookie)
print(""""
require-cookie = on
}
secure-cookie = "%s"
require-cookie = on
}
}
""")
""".format(Crypt.generateSecureCookie))

View file

@ -1,13 +0,0 @@
#!/bin/bash
SAMPLE="$(cd "$(cd "$(dirname "$0")"; pwd -P)"/..; pwd)"
AKKA_HOME="$(cd "$SAMPLE"/../../../..; 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/*"
SAMPLE_CLASSPATH="$SAMPLE/config:$AKKA_CLASSPATH:$SAMPLE/lib/*"
java $JAVA_OPTS -cp "$SAMPLE_CLASSPATH" -Dakka.home="$SAMPLE" akka.kernel.Main

View file

@ -1,8 +0,0 @@
@echo off
set SAMPLE=%~dp0..
set AKKA_HOME=%SAMPLE%\..\..\..\..
set JAVA_OPTS=-Xms1024M -Xmx1024M -Xss1M -XX:MaxPermSize=256M -XX:+UseParallelGC
set AKKA_CLASSPATH=%AKKA_HOME%\lib\scala-library.jar;%AKKA_HOME%\lib\akka\*
set SAMPLE_CLASSPATH=%SAMPLE%\config;%AKKA_CLASSPATH%;%SAMPLE%\lib\*
java %JAVA_OPTS% -cp "%SAMPLE_CLASSPATH%" -Dakka.home="%SAMPLE%" akka.kernel.Main