Class CompileTaskSupport

All Implemented Interfaces:
Cloneable, SelectorContainer
Direct Known Subclasses:
GenerateStubsTask, GroovycTask

public abstract class CompileTaskSupport extends MatchingTask
Support for compilation related tasks.
Author:
Jason Dillon
  • Field Details

  • Constructor Details

    • CompileTaskSupport

      public CompileTaskSupport()
  • Method Details

    • setFailonerror

      public void setFailonerror(boolean fail)
    • getFailonerror

      public boolean getFailonerror()
    • createSrc

      public Path createSrc()
    • setSrcdir

      public void setSrcdir(Path dir)
    • getSrcdir

      public Path getSrcdir()
    • setDestdir

      public void setDestdir(File dir)
    • setClasspath

      public void setClasspath(Path path)
    • getClasspath

      public Path getClasspath()
    • createClasspath

      public Path createClasspath()
    • setClasspathRef

      public void setClasspathRef(Reference r)
    • createConfiguration

      public CompilerConfiguration createConfiguration()
    • validate

      protected void validate() throws BuildException
      Throws:
      BuildException
    • createClassLoader

      protected GroovyClassLoader createClassLoader()
    • handleException

      protected void handleException(Exception e) throws BuildException
      Throws:
      BuildException
    • execute

      public void execute() throws BuildException
      Overrides:
      execute in class Task
      Throws:
      BuildException
    • compile

      protected abstract void compile() throws Exception
      Throws:
      Exception