From eb00888154200fc70d6deb76e70c7a34c317430e Mon Sep 17 00:00:00 2001 From: Stefan Oehme Date: Mon, 5 Oct 2015 11:19:36 +0200 Subject: [PATCH] make container_jar_pattern more restrictive --- .../xtext/xtext/generator/web/WebIntegrationFragment.xtend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.eclipse.xtext.xtext.generator/src/org/eclipse/xtext/xtext/generator/web/WebIntegrationFragment.xtend b/plugins/org.eclipse.xtext.xtext.generator/src/org/eclipse/xtext/xtext/generator/web/WebIntegrationFragment.xtend index a19237cd7..706557175 100644 --- a/plugins/org.eclipse.xtext.xtext.generator/src/org/eclipse/xtext/xtext/generator/web/WebIntegrationFragment.xtend +++ b/plugins/org.eclipse.xtext.xtext.generator/src/org/eclipse/xtext/xtext/generator/web/WebIntegrationFragment.xtend @@ -670,7 +670,7 @@ class WebIntegrationFragment extends AbstractGeneratorFragment2 { new «'org.eclipse.jetty.webapp.WebInfConfiguration'.typeRef», new «'org.eclipse.jetty.webapp.MetaInfConfiguration'.typeRef» ] - setAttribute(«'org.eclipse.jetty.webapp.WebInfConfiguration'.typeRef».CONTAINER_JAR_PATTERN, '.*') + setAttribute(«'org.eclipse.jetty.webapp.WebInfConfiguration'.typeRef».CONTAINER_JAR_PATTERN, '.*/«projectConfig.webProjectName.replace('.', '\\\\.')»/.*,.*/org\\.eclipse\\.xtext\\.web.*,.*/org\\.webjars.*') ] val log = new «'org.eclipse.jetty.util.log.Slf4jLog'.typeRef»(«grammar.serverLauncherClass.simpleName».name) try {