private List<File> getProjects() throws IOException { FileSet restriction = new FileSet(); restriction.setDirectory(workspace.getAbsolutePath()); restriction.addInclude("**/.project"); restriction.addExclude("**/.bsProject/.project"); restriction.addExclude("**/.com.tibco.bw.rad/.project"); List<File> projects = Utils.toFileList(restriction); return projects; }
protected List<File> getHTMLFiles() throws IOException { FileSet htmlFiles = new FileSet(); htmlFiles.setDirectory(outputDirectory.getAbsolutePath()); htmlFiles.addInclude("**/*.html"); htmlFiles.addExclude("apidocs/**/*"); htmlFiles.addExclude("xref/**/*"); return toFileList(htmlFiles); }