Class UberCompileTask

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class UberCompileTask
    extends Task
    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.
    Author:
    Jason Dillon
    • Constructor Detail

      • UberCompileTask

        public UberCompileTask()
    • Method Detail

      • createSrc

        public Path createSrc()
      • setSrcdir

        public void setSrcdir​(Path dir)
      • getSrcdir

        public Path getSrcdir()
      • setDestdir

        public void setDestdir​(java.io.File dir)
      • setClasspath

        public void setClasspath​(Path path)
      • getClasspath

        public Path getClasspath()
      • createClasspath

        public Path createClasspath()
      • setClasspathRef

        public void setClasspathRef​(Reference 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()