File path = new File(BASEDIR, "src/test/resources/deployables/" + warName);
//File dest = new File(BASEDIR, "target/test-resources/deployables/" + warName + "/war");
File dest = new File(BASEDIR, "target/test-resources/deployables/" + warName );
recursiveCopy(path, dest);
UnpackedJarFile jarFile = new UnpackedJarFile(path);
Module module = builder.createModule(null, jarFile, kernel.getNaming(), new ModuleIDBuilder());
Repository repository = null;
AbstractName moduleName = module.getModuleName();
EARContext earContext = createEARContext(outputPath, defaultEnvironment, repository, configStore, moduleName);
AbstractName jaccBeanName = kernel.getNaming().createChildName(moduleName, "foo", NameFactory.JACC_MANAGER);