Class UberCompileTask

All Implemented Interfaces:

public class UberCompileTask
Compiles Java and Groovy source files. This works by invoking the GenerateStubsTask task, then the Javac task and then the GroovycTask. Each task can be configured by creating a nested element. Common configuration such as the source dir and classpath is picked up from this tasks configuration.
  • Field Summary

    Fields inherited from class

    target, taskName, taskType, wrapper

    Fields inherited from class

    description, location, project
  • Constructor Summary

    Constructor Description
  • Method Summary

    Modifier and Type Method Description createClasspath()  
    org.codehaus.groovy.ant.UberCompileTask.GenStubsAdapter createGeneratestubs()  
    org.codehaus.groovy.ant.UberCompileTask.GroovycAdapter createGroovyc()  
    org.codehaus.groovy.ant.UberCompileTask.JavacAdapter createJavac() createSrc()  
    void execute() getClasspath() getSrcdir()  
    void setClasspath​( path)  
    void setClasspathRef​( r)  
    void setDestdir​( dir)  
    void setSrcdir​( dir)  
    protected void validate()  

    Methods inherited from class

    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

    clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UberCompileTask

      public UberCompileTask()
  • Method Details

    • createSrc

      public createSrc()
    • setSrcdir

      public void setSrcdir​( dir)
    • getSrcdir

      public getSrcdir()
    • setDestdir

      public void setDestdir​( dir)
    • setClasspath

      public void setClasspath​( path)
    • getClasspath

      public getClasspath()
    • createClasspath

      public createClasspath()
    • setClasspathRef

      public void setClasspathRef​( r)
    • createGeneratestubs

      public org.codehaus.groovy.ant.UberCompileTask.GenStubsAdapter createGeneratestubs()
    • createGroovyc

      public org.codehaus.groovy.ant.UberCompileTask.GroovycAdapter createGroovyc()
    • createJavac

      public org.codehaus.groovy.ant.UberCompileTask.JavacAdapter createJavac()
    • validate

      protected void validate() throws
    • execute

      public void execute() throws
      execute in class