Class FileSet
java.lang.Object
org.eclipse.tycho.p2.impl.publisher.rootfiles.AbstractFileSet
org.eclipse.tycho.p2.impl.publisher.rootfiles.FileSet
Ant-like file set. Wildcards *, ** and ? are implemented as described on
{@link https://en.wikibooks.org/wiki/Apache_Ant/Fileset }. This is not a complete equivalent implementation of the ant fileset. Only the subset needed for PDE root files is supported.
{@link https://en.wikibooks.org/wiki/Apache_Ant/Fileset }. This is not a complete equivalent implementation of the ant fileset. Only the subset needed for PDE root files is supported.
-
Field Summary
Fields inherited from class org.eclipse.tycho.p2.impl.publisher.rootfiles.AbstractFileSet
defaultExcludePatterns, includePattern -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.tycho.p2.impl.publisher.rootfiles.AbstractFileSet
matches
-
Constructor Details
-
FileSet
Equivalent to#FileSet(File, String, boolean)with useDefaultExludes == true; destinationDir = "" -
FileSet
Creates a fileset.- Parameters:
baseDir- the base directory to scanpattern- ant file inclusion pattern (relative to baseDir). Wildcards **,* and ? are supported.useDefaultExcludes- whether to use default file excludes for typical SCM metadata files.
-
-
Method Details
-
getBaseDir
-
scan
Scan the filesystem below baseDir for matching files.- Returns:
- map canonical File -> basedir-relative path
-