From fa5d9f3d6e7f37386b0f657ab524f85f68850fc1 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Tue, 17 Jun 2014 11:30:34 +0300 Subject: Speed up dev server startup - Don't have Atmosphere scan the entire classpath for annotations - Don't use load-on-startup = -1 since Jetty still inits the servlets - Avoid initing the integration test servlet for serving /VAADIN/* Change-Id: Ic6a650442a11ac87ce15dabce3acda12a9cc71b3 --- WebContent/WEB-INF/web.xml | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) (limited to 'WebContent/WEB-INF') diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml index 9f321b5bc8..268fe1ea66 100644 --- a/WebContent/WEB-INF/web.xml +++ b/WebContent/WEB-INF/web.xml @@ -24,8 +24,11 @@ application com.vaadin.tests.components.button.Buttons + + org.atmosphere.cpr.scanClassPath + false + true - -1 Embed App 2 @@ -34,8 +37,11 @@ UI com.vaadin.tests.components.label.MarginsInLabels + + org.atmosphere.cpr.scanClassPath + false + true - -1 UI provider app @@ -48,8 +54,11 @@ UI com.vaadin.tests.VerifyAssertionsEnabled + + org.atmosphere.cpr.scanClassPath + false + true - -1 @@ -60,6 +69,10 @@ legacyPropertyToString false + + org.atmosphere.cpr.scanClassPath + false + heartbeatInterval 301 @@ -77,7 +90,6 @@ 42 true - -1 @@ -88,7 +100,10 @@ --> VaadinApplicationRunnerWithTimeoutRedirect com.vaadin.launcher.ApplicationRunnerServlet - -1 + + org.atmosphere.cpr.scanClassPath + false + @@ -99,7 +114,10 @@ automatic true - -1 + + org.atmosphere.cpr.scanClassPath + false + @@ -111,7 +129,10 @@ com.vaadin.tests.integration.ServletIntegrationUI true - -1 + + org.atmosphere.cpr.scanClassPath + false + Embed App 1 @@ -149,7 +170,7 @@ - IntegrationTest + VaadinApplicationRunner /VAADIN/* -- cgit v1.2.3