Merge pull request #647 from eclipse/so_fix_container_jar_pattern

make container_jar_pattern more restrictive
This commit is contained in:
Stefan Oehme 2015-10-05 14:40:37 +02:00
commit 5a64d76ee0

View file

@ -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 {