diff --git a/replay-tests/multi-module-app/app/app/hello/HelloWorldApp.java b/replay-tests/multi-module-app/app/app/hello/HelloWorldApp.java index 1261e067..a8d60d0a 100644 --- a/replay-tests/multi-module-app/app/app/hello/HelloWorldApp.java +++ b/replay-tests/multi-module-app/app/app/hello/HelloWorldApp.java @@ -9,7 +9,9 @@ public class HelloWorldApp { public int start(String playId) { - Play play = new Play(new PropertiesConfLoader("conf/"), new DefaultBeanSource(), new CookieSessionStore()); + PropertiesConfLoader cl = new PropertiesConfLoader("conf/"); + Play play = new Play(cl, new DefaultBeanSource(), new CookieSessionStore()); + Play.configuration = cl.readConfiguration(playId); play.minimalInit(playId); Play.routes = ClasspathResource.file("conf/routes"); Play.pluginCollection.loadPlugins(); diff --git a/replay-tests/multi-module-app/core/src/main/resources/conf/application.conf b/replay-tests/multi-module-app/core/src/main/resources/conf/application.conf index 2a302a01..9fe82f50 100644 --- a/replay-tests/multi-module-app/core/src/main/resources/conf/application.conf +++ b/replay-tests/multi-module-app/core/src/main/resources/conf/application.conf @@ -8,4 +8,6 @@ http.port=9000 application.mode=DEV %test.application.mode=PROD +%test.play.tmp=my_tmpdir_in_the_workdir + ehcache.heapSizeInEntries=100 \ No newline at end of file