org.python.util
Class TemplateAntTask
public
class
TemplateAntTask
extends MatchingTask
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.
Version: 1.0
Author: Matt Small - msmall@activegrid.com
Method Summary |
Path | createSrc() |
void | execute() |
void | setDestdir(String in)
Specifies the destination directory; this should usually be the source
tree, as the templates modify source files in-place. |
void | setMappingFile(String aMappingFile)
Specifies the mapping file, for template short name to Python class
name. |
void | setPython(String aPE)
Specifies the Python interpreter. |
void | setScriptdir(String in)
Path to find scripts (gexpose.py & gderived.py). |
void | setSrcdir(Path srcDir)
Source paths. |
void | setVerbose(String in)
Verbose flag. |
public Path createSrc()
public void execute()
public void setDestdir(String in)
Specifies the destination directory; this should usually be the source
tree, as the templates modify source files in-place.
public void setMappingFile(String aMappingFile)
Specifies the mapping file, for template short name to Python class
name.
public void setPython(String aPE)
Specifies the Python interpreter.
public void setScriptdir(String in)
Path to find scripts (gexpose.py & gderived.py).
public void setSrcdir(Path srcDir)
Source paths.
public void setVerbose(String in)
Verbose flag.