FileSet fileSet = new FileSet(); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- )
FileSet fileSet = new FileSet(); InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source );
FileSet fileSet = new FileSet(); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- )
private Iterable<File> findTemplateFiles() throws MojoExecutionException { if (null == templates) { File defaultDirectory = resolveRelativePath(new File(MAIN_TEMPLATES)); if (defaultDirectory.exists() && defaultDirectory.isDirectory()) { FileSet fileSet = new FileSet(); fileSet.setDirectory(MAIN_TEMPLATES); fileSet.addInclude(XML_INCLUDES); templates = new FileSet[] { fileSet }; } } return doScan(templates); }
private Iterable<File> findFacesConfigFiles() throws MojoExecutionException { if (null == facesConfigs) { File defaultDirectory = resolveRelativePath(new File(MAIN_CONFIG)); if (defaultDirectory.exists() && defaultDirectory.isDirectory()) { FileSet fileSet = new FileSet(); fileSet.setDirectory(MAIN_CONFIG); fileSet.addInclude(XML_INCLUDES); facesConfigs = new FileSet[] { fileSet }; } } return doScan(facesConfigs); }
public static CompilerResources createCompilerResources(File sourceDirectory, String[] includes, String[] excludes, File targetDirectory, String relativeOutputDirectory) { final CompilerResources resource = new CompilerResources(); resource.source = new FileSet(); resource.source.setDirectory(sourceDirectory.toString()); if (includes != null) { resource.source.setIncludes(Arrays.asList(includes)); } if (excludes != null) { resource.source.setExcludes(Arrays.asList(excludes)); } resource.relativeOutputDirectory = relativeOutputDirectory; resource.destination = targetDirectory; return resource; }
protected List<String> getTestClasses() { getLog().debug( "Scanning for tests at " + testCompileSourceRoots + " for " + includeTestFiles + " but " + excludeTestFiles ); FileSet fs = new FileSet(); fs.setIncludes( includeTestFiles ); fs.setExcludes( excludeTestFiles ); List<String> testClasses = filterClasses( asList( fs ), files( testCompileSourceRoots ) ); getLog().debug( "Test classes: " + testClasses ); return testClasses; }
private List<FileSet> fileSets() { List<FileSet> templateSets = templateSets(); if (null == templateSets) { templateSets = new LinkedList<FileSet>(); final FileSet templateSet = new FileSet(); templateSet.setDirectory(stripPrefix() + "java"); templateSet.addInclude("**/*" + stripSuffix()); templateSets.add(templateSet); } return templateSets; }
@Override protected List<File> getHTMLFiles() throws IOException { FileSet htmlFiles = new FileSet(); htmlFiles.setDirectory(outputDirectory.getAbsolutePath()); htmlFiles.addInclude(getFileNameToReplace()); return toFileList(htmlFiles); }
protected List<FileSet> as3ClassesFileSet( File... files ) { if ( files == null ) { return null; } List<FileSet> sets = new ArrayList<FileSet>(); for ( File file : files ) { FileSet fs = new FileSet(); fs.setDirectory( PathUtil.path( file ) ); fs.addInclude( "**/*.as" ); fs.addInclude( "**/*.mxml" ); sets.add( fs ); } return sets; }
private List<FileSet> fileSets() { List<FileSet> templateSets = templateSets(); if (null == templateSets) { templateSets = new LinkedList<>(); final FileSet templateSet = new FileSet(); templateSet.setDirectory(stripPrefix() + "java"); templateSet.addInclude("**/*" + stripSuffix()); templateSets.add(templateSet); } return templateSets; }
throws IOException, XMLStreamException FileSet fileSet = new FileSet(); fileSet.setModelEncoding( encoding ); java.util.Set parsed = new java.util.HashSet();
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); }
throws IOException, DocumentException FileSet fileSet = new FileSet(); fileSet.setModelEncoding( encoding ); java.util.Set parsed = new java.util.HashSet();
throws IOException, XmlPullParserException FileSet fileSet = new FileSet(); fileSet.setModelEncoding( encoding ); java.util.Set parsed = new java.util.HashSet();
FileSet fileSet = new FileSet(); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- )
FileSet fileSet = new FileSet(); InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source );