Permalink
Browse files

#3107 - Moving the relevant scripts and samples into the dist folder…

… of the akka-kernel project
  • Loading branch information...
viktorklang committed Mar 29, 2013
1 parent 88f7e28 commit 2584735ea184a9f771b9b75f67893513fb595d34
@@ -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
@@ -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

0 comments on commit 2584735

Please sign in to comment.