Class CompileTaskSupport

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.codehaus.groovy.ant.CompileTaskSupport
All Implemented Interfaces:
Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer
Direct Known Subclasses:
GenerateStubsTask, GroovycTask

public abstract class CompileTaskSupport
extends org.apache.tools.ant.taskdefs.MatchingTask
Support for compilation related tasks.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected org.apache.tools.ant.types.Path classpath  
    protected CompilerConfiguration config  
    protected File destdir  
    protected boolean failOnError  
    protected LoggingHelper log  
    protected org.apache.tools.ant.types.Path src  

    Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask

    fileset

    Fields inherited from class org.apache.tools.ant.Task

    target, taskName, taskType, wrapper

    Fields inherited from class org.apache.tools.ant.ProjectComponent

    description, location, project
  • Constructor Summary

    Constructors 
    Constructor Description
    CompileTaskSupport()  
  • Method Summary

    Modifier and Type Method Description
    protected abstract void compile()  
    protected GroovyClassLoader createClassLoader()  
    org.apache.tools.ant.types.Path createClasspath()  
    CompilerConfiguration createConfiguration()  
    org.apache.tools.ant.types.Path createSrc()  
    void execute()  
    org.apache.tools.ant.types.Path getClasspath()  
    boolean getFailonerror()  
    org.apache.tools.ant.types.Path getSrcdir()  
    protected void handleException​(Exception e)  
    void setClasspath​(org.apache.tools.ant.types.Path path)  
    void setClasspathRef​(org.apache.tools.ant.types.Reference r)  
    void setDestdir​(File dir)  
    void setFailonerror​(boolean fail)  
    void setSrcdir​(org.apache.tools.ant.types.Path dir)  
    protected void validate()  

    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

    bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, 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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait