From 1293ebe3a0e94b0ad50566cadf02f3e9fc14ff32 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 12 Jan 2013 14:40:44 +0100 Subject: o Going back to explicitly using the src/main/resources/webapp as the web app's root so we get proper reloading. --- src/test/java/io/trygvis/esper/testing/web/WebRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/java/io/trygvis/esper/testing/web/WebRunner.java b/src/test/java/io/trygvis/esper/testing/web/WebRunner.java index a790a63..6b2c52a 100755 --- a/src/test/java/io/trygvis/esper/testing/web/WebRunner.java +++ b/src/test/java/io/trygvis/esper/testing/web/WebRunner.java @@ -13,7 +13,7 @@ public class WebRunner { JettyWebServer server = new JettyWebServer(); server.setHttpPort(1337); - File webapp = new File(WebRunner.class.getResource("/webapp").getPath()); + File webapp = new File("src/main/resources/webapp"); server.addContext(new JettyWebServer.WarContext("/", webapp)); server.run(); } -- cgit v1.2.3