Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.cantaloop.cgimlet
Class ProjectGeneratorTask  view ProjectGeneratorTask download ProjectGeneratorTask.java

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.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 $)

Field Summary
private  ProjectRunner m_runner
           
 
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
 
Constructor Summary
ProjectGeneratorTask()
           
 
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 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
 

Field Detail

m_runner

private ProjectRunner m_runner
Constructor Detail

ProjectGeneratorTask

public ProjectGeneratorTask()
Method Detail

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.