private void migrateExample(String datasetName) throws IOException { File testBaseDir = new File("target/test/" + datasetName); if (testBaseDir.exists()) { FileUtils.deleteDirectory(testBaseDir); } testBaseDir.mkdirs(); testBaseDir = testBaseDir.getCanonicalFile(); File outputVfsRepository = new File(testBaseDir, "outputVfs"); app.migrate( "-r", "drools-wb-jcr2vfs-migration-another", "-i", getClass().getResource(datasetName + ".jcr").getFile(), "-o", outputVfsRepository.getCanonicalPath()); }
@AfterClass public static void shutdown() { app.shutdown(); }
@BeforeClass public static void setup() { app.startUp(); }