public class PanCompilerTask
extends org.apache.tools.ant.Task
| Modifier and Type | Field and Description |
|---|---|
protected static String |
debugIndent |
| Constructor and Description |
|---|
PanCompilerTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredFileSet(org.apache.tools.ant.types.FileSet fileset)
Support nested fileset elements.
|
void |
addConfiguredPath(org.apache.tools.ant.types.Path path)
Support nested path elements.
|
void |
execute() |
int |
getBatchSize() |
int |
getNthread() |
void |
setBatchSize(int batchSize) |
void |
setCheckDependencies(boolean checkDependencies)
This any task can check machine profile dependencies to avoid processing
machine profiles which are already up-to-date.
|
void |
setDebugNsExclude(String pattern)
Set the regular expression used to exclude pan namespaces for debugging.
|
void |
setDebugNsInclude(String pattern)
Set the regular expression used to include pan namespaces for debugging.
|
void |
setDebugTask(int debugTask)
Setting this flag will print debugging information from the task itself.
|
void |
setFormats(String fmts)
Defines the formatters used to generate the output files.
|
void |
setIgnoreDependencyPattern(String ignoreDependencyPattern)
Dependencies that must be ignored when selecting the profiles to rebuild.
|
void |
setIncludeRoot(File includeroot)
Set the directory to use for the include globs.
|
void |
setIncludes(String includes)
Set the include globs to use for the pan compiler loadpath.
|
void |
setInitialData(String initialData)
Provides a dict() with a data structure that will be used to initialize
all generated profiles.
|
void |
setLogfile(File logFile)
Set the log file to use for logging.
|
void |
setLogging(String loggingFlags)
Enable the given types of logging.
|
void |
setMaxIteration(int maxIteration)
The pan compiler allows an iteration limit to be set to avoid infinite
loops.
|
void |
setMaxRecursion(int maxRecursion)
Sets the default maximum number of recursions.
|
void |
setNthread(int nthread) |
void |
setOutputDir(File outputDir)
Set the output directory for generated machine profiles and dependency
files.
|
void |
setVerbose(boolean verbose)
Flag to indicate that extra information should be written to the standard
output.
|
void |
setWarnings(String warnings)
Determines whether deprecation warnings are emitted and if so, whether to
treat them as fatal errors.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected static final String debugIndent
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void setIncludeRoot(File includeroot)
includeroot - File giving the root directory for the include globspublic void setIncludes(String includes)
includes - String of comma- or space-separated file globspublic void addConfiguredPath(org.apache.tools.ant.types.Path path)
path - a configured Pathpublic void addConfiguredFileSet(org.apache.tools.ant.types.FileSet fileset)
fileset - a configured FileSetpublic void setDebugTask(int debugTask)
debugTask - flag to print task debugging informationpublic void setDebugNsInclude(String pattern)
pattern - public void setDebugNsExclude(String pattern)
pattern - public void setInitialData(String initialData)
initialData - public void setOutputDir(File outputDir)
outputDir - directory for produced filespublic void setFormats(String fmts)
fmts - comma-separated list of formatters to usepublic void setMaxIteration(int maxIteration)
maxIteration - maximum number of permitted iterationspublic void setMaxRecursion(int maxRecursion)
maxRecursion - public void setLogging(String loggingFlags)
loggingFlags - a comma-separated list of logging types to enablepublic void setLogfile(File logFile)
logFile - file to use for loggingpublic void setWarnings(String warnings)
warnings - public void setVerbose(boolean verbose)
verbose - public void setCheckDependencies(boolean checkDependencies)
checkDependencies - public void setIgnoreDependencyPattern(String ignoreDependencyPattern)
ignoreDependencyPattern - regular expression used to match namespaced template names to
ignorepublic int getBatchSize()
public void setBatchSize(int batchSize)
public int getNthread()
public void setNthread(int nthread)
Copyright © 2014 Quattor. All Rights Reserved.