Top Description Fields Constructors Methods
org.python.util

public Class TemplateAntTask

extends MatchingTask
Class Inheritance
Imports
org.apache.tools.ant.taskdefs.MatchingTask, .Execute, org.apache.tools.ant.BuildException, java.io.File, .IOException

Template is an Ant task for generating new-style object definitions based on template files. These template files come in two flavors; *.expose and *.derived, both are supported by this task.
Author
Matt Small - msmall@activegrid.com
Version
1.0

Field Summary

Modifier and TypeField and Description
protected boolean
lazy

Lazy flag.

protected String
python

Specifies the Python interpreter.

private File
srcDir

Source paths.

protected boolean
verbose

Verbose flag.

Inherited from org.apache.tools.ant.taskdefs.MatchingTask:
fileset

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
execute()

Overrides org.apache.tools.ant.Task.execute.

Called by the project to let the task do its work.

private void
public void
setLazy(String in)

Lazy flag.

public void
setPython(String aPE)

Specifies the Python interpreter.

public void
setSrcdir(String in)

Source paths.

public void
setVerbose(String in)

Verbose flag.

Inherited from org.apache.tools.ant.taskdefs.MatchingTask:
addaddAndaddContainsaddContainsRegexpaddCustomaddDateaddDependaddDepthaddDifferentaddFilenameaddMajorityaddModifiedaddNoneaddNotaddOraddPresentaddSelectoraddSizeaddTypeappendSelectorcreateExcludecreateExcludesFilecreateIncludecreateIncludesFilecreatePatternSetgetDirectoryScannergetImplicitFileSetgetSelectorshasSelectorsselectorCountselectorElementssetCaseSensitivesetDefaultexcludessetExcludessetExcludesfilesetFollowSymlinkssetIncludessetIncludesfilesetProjectXsetIgnoreXsetItems

Field Detail

lazyback to summary
protected boolean lazy

Lazy flag.

pythonback to summary
protected String python

Specifies the Python interpreter.

srcDirback to summary
private File srcDir

Source paths.

verboseback to summary
protected boolean verbose

Verbose flag.

Constructor Detail

TemplateAntTaskback to summary
public TemplateAntTask()

Method Detail

executeback to summary
public void execute()

Overrides org.apache.tools.ant.Task.execute.

Doc from org.apache.tools.ant.Task.execute.

Called by the project to let the task do its work. This method may be called more than once, if the task is invoked more than once. For example, if target1 and target2 both depend on target3, then running "ant target1 target2" will run all tasks in target3 twice.

runPythonScriptback to summary
private void runPythonScript(String script) throws BuildException
setLazyback to summary
public void setLazy(String in)

Lazy flag.

setPythonback to summary
public void setPython(String aPE)

Specifies the Python interpreter.

setSrcdirback to summary
public void setSrcdir(String in)

Source paths.

setVerboseback to summary
public void setVerbose(String in)

Verbose flag.