webApp.setExtraScanTargetsConfiguration(webAppConfiguration
.getScanTargetsConfiguration());
webApp.setContextHandlers(webAppConfiguration.getContextHandlers());
webApp.setWebDefaultXmlFile(webAppConfiguration.getWebDefaultXmlFile());
server.addWebApplication(webApp, webAppConfiguration.getScanIntervalSeconds());
}
}
catch (Exception e) {
throw new BuildException(e);
}