System.out.println("[INFO] War root is " + warRoot);
ResourceRuntime.INSTANCE.removeConfig(contextPath);
ResourceInitializer.initialize(contextPath, warRoot);
IResourceRegistry registry = ResourceRuntime.INSTANCE.getConfig(contextPath).getRegistry();
new ResourceConfigurator().configure(registry);
new ResourceTagConfigurator().configure(registry);
new ResourceTagLibConfigurator().configure(registry);
registry.lock();
}
ResourceRuntimeContext.setup(contextPath);
}
}