Merge pull request #1284 from akka/wip-3107-add-scripts-to-kernel-dist-√
#3107 - Moving the relevant scripts and samples into the dist folder of...
This commit is contained in:
commit
543bf7379e
3 changed files with 3 additions and 34 deletions
|
|
@ -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))
|
||||
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue