// iterates over all the input file names and adds them to the infuser arguments // object protected void iterateResourceCollections() { for (FileSet fileSet : fileSets) { String files[] = fileSet.getDirectoryScanner(getProject()).getIncludedFiles(); for (String file : files) { String path = fileSet.getDir(getProject()) + "/" + file; try { infuserArguments.parseArgument(path); } catch (Exception ex) { throw new BuildException("Error loading file: " + path, ex); } } } for (FileList fileList : fileLists) { for (String file : fileList.getFiles(getProject())) { String path = fileList.getDir(getProject()) + "/" + file; try { infuserArguments.parseArgument(path); } catch (Exception ex) { throw new BuildException("Error loading file: " + path, ex); } } } }
public void setMajorVersion(int value) { infuserArguments.setMajorVersion(value); }
public void setDebugFile(String debug) { infuserArguments.setDebugOutputFile(debug); }
public void setCFile(String name) { infuserArguments.setNativeOutputFile(name); }
public void setHFile(String name) { infuserArguments.setDefinitionOutputFile(name); }
public void setHeaderFile(String name) { infuserArguments.setHeaderOutputFile(name); }
public void setInfusionFile(String name) { infuserArguments.setInfusionOutputFile(name); }
public void setName(String name) { infuserArguments.setInfusionName(name); }