com.threerings.presents.tools
Class GenTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.threerings.presents.tools.GenTask
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
GenActionScriptStreamableTask, GenCPPStreamableTask, GenDObjectTask, GenStreamableTask, InvocationTask

public abstract class GenTask
extends org.apache.tools.ant.Task


Constructor Summary
GenTask()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
          Adds a nested <fileset> element which enumerates service declaration source files.
 void execute()
          Performs the actual work of the task.
 void setChecking(boolean checking)
          Fails the build if generation would change files rather than generating code.
 void setClasspathref(org.apache.tools.ant.types.Reference pathref)
          Configures our classpath which we'll use to load service classes.
 void setHeader(File header)
          Configures us with a header file that we'll prepend to all generated source files.
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenTask

public GenTask()
Method Detail

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
Adds a nested <fileset> element which enumerates service declaration source files.


setHeader

public void setHeader(File header)
Configures us with a header file that we'll prepend to all generated source files.


setClasspathref

public void setClasspathref(org.apache.tools.ant.types.Reference pathref)
Configures our classpath which we'll use to load service classes.


setChecking

public void setChecking(boolean checking)
Fails the build if generation would change files rather than generating code.


execute

public void execute()
Performs the actual work of the task.

Overrides:
execute in class org.apache.tools.ant.Task


Copyright © 2011. All Rights Reserved.