org.eclipse.cdt.managedbuilder.templateengine.processes
Class ExcludeResources
java.lang.Object
org.eclipse.cdt.core.templateengine.process.ProcessRunner
org.eclipse.cdt.managedbuilder.templateengine.processes.ExcludeResources
public class ExcludeResources
- extends org.eclipse.cdt.core.templateengine.process.ProcessRunner
Exclude Resources from a CDT project. This takes three arguments
- projectName the name of the project to exclude resources for. Must be a CDT Managed project.
- configIdPattern a regular expression in java.util.regex.Pattern syntax for matching against the project configuration ids. The resources that
match any of the regular expressions given in the filePatterns argument will be excluded for all matching project configurations.
- filePatterns an array of regular expressions in java.util.regex.Pattern syntax for matching against project resources. The paths that
will be matched against are workspace relative (include the project folder) and use forward slash as the file separator. That this argument is an
array is purely to allow logically separate patterns to be given separately )rather than as one big string). If any of the regular expressions matches
then the resource in question will be excluded for the matching configuration(s).
- invertConfigMatching if this is set to "true" then the set of configurations for which resources matching any of the specified file patterns will
be inverted. This enables you to specify which resources the files should not be excluded for without having to know what other configurations may exist.
Method Summary |
void |
process(org.eclipse.cdt.core.templateengine.TemplateCore template,
org.eclipse.cdt.core.templateengine.process.ProcessArgument[] args,
java.lang.String processId,
org.eclipse.core.runtime.IProgressMonitor monitor)
|
Methods inherited from class org.eclipse.cdt.core.templateengine.process.ProcessRunner |
getArgumentsMismatchMessage, getProcessParameters |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcludeResources
public ExcludeResources()
process
public void process(org.eclipse.cdt.core.templateengine.TemplateCore template,
org.eclipse.cdt.core.templateengine.process.ProcessArgument[] args,
java.lang.String processId,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.cdt.core.templateengine.process.ProcessFailureException
- Specified by:
process
in class org.eclipse.cdt.core.templateengine.process.ProcessRunner
- Throws:
org.eclipse.cdt.core.templateengine.process.ProcessFailureException