private void cleanWorkingDir() throws IOException { File f = new File(conf.getWorkingDir()); if (f.exists()) { ProjectFiles.removeRecursively(f); } ProjectFiles.makeIfNotExists(f.getAbsolutePath()); }
private void cleanResultsDir() throws IOException { File f = new File(conf.getGenerationOutputPath()); if (f.exists()) { ProjectFiles.removeRecursively(f); } ProjectFiles.makeIfNotExists(f.getAbsolutePath()); }