This commit is contained in:
Jan Bartel 2016-11-18 14:17:43 +11:00
parent 2da10944f4
commit 12c0663e6c
1 changed files with 8 additions and 0 deletions

View File

@ -444,6 +444,14 @@ public class Runner
}
handler.setAttribute(WebInfConfiguration.CONTAINER_JAR_PATTERN, containerIncludeJarPattern);
//check the configurations, if not explicitly set up, then configure all of them
if (handler instanceof WebAppContext)
{
WebAppContext wac = (WebAppContext)handler;
if (wac.getConfigurationClasses() == null || wac.getConfigurationClasses().length == 0)
wac.setConfigurationClasses(__plusConfigurationClasses);
}
}
else
{