private static final String OPENEJB_DEPLOYER_SAVE_DEPLOYMENTS = "openejb.deployer.save-deployments";
@BeforeClass
public static void beforeClass() throws Exception {
final FileUtils base = SystemInstance.get().getBase();
final File conf = base.getDirectory("conf", false);
Files.delete(conf);
final File apps = base.getDirectory("apps", true);
Files.delete(apps);
base.getDirectory("apps", true);
base.getDirectory("conf", true);
property.set(System.getProperty(OPENEJB_DEPLOYER_SAVE_DEPLOYMENTS));
System.setProperty(OPENEJB_DEPLOYER_SAVE_DEPLOYMENTS, Boolean.TRUE.toString());
warArchive.set(WebArchives.warArchive(TestClass.class));
}