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

      All Methods Instance Methods Concrete Methods 
      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​(File 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
    • Constructor Detail

      • UberCompileTask

        public UberCompileTask()
    • Method Detail

      • createSrc

        public createSrc()
      • setSrcdir

        public void setSrcdir​( dir)
      • getSrcdir

        public getSrcdir()
      • setDestdir

        public void setDestdir​(File 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()
      • execute

        public void execute()
        execute in class