org.codehaus.gram
Class GramTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.MatchingTask
              extended byorg.codehaus.gram.GramTask
All Implemented Interfaces:
org.apache.tools.ant.types.selectors.SelectorContainer

public class GramTask
extends org.apache.tools.ant.taskdefs.MatchingTask

An Ant task for executing Gram scripts, which are Groovy scripts executed on the JAM context.

Version:
$Revision: 1520 $

Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
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
GramTask()
           
 
Method Summary
 org.apache.tools.ant.types.Path createClasspath()
           
 org.apache.tools.ant.types.Path createToolpath()
           
 void execute()
           
 void setClasspath(org.apache.tools.ant.types.Path path)
           
 void setClasspathRef(org.apache.tools.ant.types.Reference r)
           
 void setDestDir(File destDir)
          Sets the directory into which source files should be generated.
 void setScriptDir(File scriptDir)
           
 void setSrcDir(org.apache.tools.ant.types.Path srcDir)
           
 void setToolpath(org.apache.tools.ant.types.Path path)
           
 void setToolpathRef(org.apache.tools.ant.types.Reference r)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GramTask

public GramTask()
Method Detail

setDestDir

public void setDestDir(File destDir)
Sets the directory into which source files should be generated.


setScriptDir

public void setScriptDir(File scriptDir)

setSrcDir

public void setSrcDir(org.apache.tools.ant.types.Path srcDir)

setToolpath

public void setToolpath(org.apache.tools.ant.types.Path path)

setToolpathRef

public void setToolpathRef(org.apache.tools.ant.types.Reference r)

createToolpath

public org.apache.tools.ant.types.Path createToolpath()

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path path)

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference r)

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException


Copyright © 2004-2006 The Codehaus. All Rights Reserved.