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:
- @version@ ($Revision: 1.10 $)
|
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, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_runner
private ProjectRunner m_runner
ProjectGeneratorTask
public ProjectGeneratorTask()
setVerbose
public void setVerbose(boolean b)
- Set if the codegeneration should be verbose.
setPrettyPrinting
public void setPrettyPrinting(boolean b)
- Set if the generated files should be pretty printed.
setQuiet
public void setQuiet(boolean b)
- Set if the codegeneration should be extra quiet.
setProjectFile
public void setProjectFile(java.lang.String s)
- Set the project file as a string. You should use `/' as
the directory separator char.
setDebug
public void setDebug(boolean b)
- Enables debugging output.
execute
public void execute()
throws org.apache.tools.ant.BuildException
execute should be called only by ant.