aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-12 14:40:44 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-12 14:40:44 +0100
commit1293ebe3a0e94b0ad50566cadf02f3e9fc14ff32 (patch)
tree3168a2990e090af14d87c1fa1915fed1c894aaf2
parentc2a5677a46f91696ec7748d7d1202fe5d5f685f7 (diff)
downloadesper-testing-1293ebe3a0e94b0ad50566cadf02f3e9fc14ff32.tar.gz
esper-testing-1293ebe3a0e94b0ad50566cadf02f3e9fc14ff32.tar.bz2
esper-testing-1293ebe3a0e94b0ad50566cadf02f3e9fc14ff32.tar.xz
esper-testing-1293ebe3a0e94b0ad50566cadf02f3e9fc14ff32.zip
o Going back to explicitly using the src/main/resources/webapp as the web app's root so we get proper reloading.
-rwxr-xr-xsrc/test/java/io/trygvis/esper/testing/web/WebRunner.java2
1 files changed, 1 insertions, 1 deletions
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();
}