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