public class UberCompileTask
extends org.apache.tools.ant.Task
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.Constructor and Description |
---|
UberCompileTask() |
Modifier and Type | Method and Description |
---|---|
org.apache.tools.ant.types.Path |
createClasspath() |
org.codehaus.groovy.ant.UberCompileTask.GenStubsAdapter |
createGeneratestubs() |
org.codehaus.groovy.ant.UberCompileTask.GroovycAdapter |
createGroovyc() |
org.codehaus.groovy.ant.UberCompileTask.JavacAdapter |
createJavac() |
org.apache.tools.ant.types.Path |
createSrc() |
void |
execute() |
org.apache.tools.ant.types.Path |
getClasspath() |
org.apache.tools.ant.types.Path |
getSrcdir() |
void |
setClasspath(org.apache.tools.ant.types.Path path) |
void |
setClasspathRef(org.apache.tools.ant.types.Reference r) |
void |
setDestdir(java.io.File dir) |
void |
setSrcdir(org.apache.tools.ant.types.Path dir) |
protected void |
validate() |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public org.apache.tools.ant.types.Path createSrc()
public void setSrcdir(org.apache.tools.ant.types.Path dir)
public org.apache.tools.ant.types.Path getSrcdir()
public void setDestdir(java.io.File dir)
public void setClasspath(org.apache.tools.ant.types.Path path)
public org.apache.tools.ant.types.Path getClasspath()
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public org.codehaus.groovy.ant.UberCompileTask.GenStubsAdapter createGeneratestubs()
public org.codehaus.groovy.ant.UberCompileTask.GroovycAdapter createGroovyc()
public org.codehaus.groovy.ant.UberCompileTask.JavacAdapter createJavac()
protected void validate() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException