ServletLifecycle.endReinitialization();
log.info("done redeploying");
}
WarRootDeploymentStrategy warRootDeploymentStrategy = new WarRootDeploymentStrategy(Thread.currentThread().getContextClassLoader(), warRoot);
warRootDeploymentStrategy.scan();
Pages pages = (Pages) ServletLifecycle.getServletContext().getAttribute(Seam.getComponentName(Pages.class));
if (pages!= null) {
pages.initialize(warRootDeploymentStrategy.getDotPageDotXmlFileNames());
}