org.cantaloop.cgimlet
Class ProjectGeneratorTask
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.cantaloop.cgimlet.ProjectGeneratorTask
- public class ProjectGeneratorTask
- extends org.apache.tools.ant.Task
Ant task for cgimlet. For a
example on how to use the task, please have a look at the templates
in the doc directory of the distribution.
- Version:
- 0.2.0 ($Revision: 1.10 $)
- Author:
- David Leuschner, Stefan Heimann
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Method Summary |
void |
execute()
execute should be called only by ant. |
void |
setDebug(boolean b)
Enables debugging output. |
void |
setPrettyPrinting(boolean b)
Set if the generated files should be pretty printed. |
void |
setProjectFile(java.lang.String s)
Set the project file as a string. |
void |
setQuiet(boolean b)
Set if the codegeneration should be extra quiet. |
void |
setVerbose(boolean b)
Set if the codegeneration should be verbose. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectGeneratorTask
public ProjectGeneratorTask()
setVerbose
public void setVerbose(boolean b)
- Set if the codegeneration should be verbose.
- Parameters:
b
- a boolean
value
setPrettyPrinting
public void setPrettyPrinting(boolean b)
- Set if the generated files should be pretty printed.
- Parameters:
b
- a boolean
value
setQuiet
public void setQuiet(boolean b)
- Set if the codegeneration should be extra quiet.
- Parameters:
b
- a boolean
value
setProjectFile
public void setProjectFile(java.lang.String s)
- Set the project file as a string. You should use `/' as
the directory separator char.
- Parameters:
s
- a String
value
setDebug
public void setDebug(boolean b)
- Enables debugging output.
- Parameters:
b
- a boolean
value
execute
public void execute()
throws org.apache.tools.ant.BuildException
execute
should be called only by ant.
- Overrides:
execute
in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- if an error occurs