*/
public class ShowcaseBundleExtractor {
public static void main(String[] args) throws Exception {
// First of all, init the CDI container.
WeldContainer weldContainer = new Weld().initialize();
CDIBeanLocator.beanManager = weldContainer.getBeanManager();
// Mock up the app directories.
String rootDir = System.getProperty("user.dir") + "/modules/dashboard-samples";
Application.lookup().setBaseAppDirectory(rootDir + "/src/main/webapp");
Application.lookup().setBaseCfgDirectory(rootDir + "/src/main/webapp/WEB-INF/etc");