public class UberCompileTask extends 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.description, location, project
Constructor and Description |
---|
UberCompileTask() |
Modifier and Type | Method and Description |
---|---|
Path |
createClasspath() |
org.codehaus.groovy.ant.UberCompileTask.GenStubsAdapter |
createGeneratestubs() |
org.codehaus.groovy.ant.UberCompileTask.GroovycAdapter |
createGroovyc() |
org.codehaus.groovy.ant.UberCompileTask.JavacAdapter |
createJavac() |
Path |
createSrc() |
void |
execute() |
Path |
getClasspath() |
Path |
getSrcdir() |
void |
setClasspath(Path path) |
void |
setClasspathRef(Reference r) |
void |
setDestdir(File dir) |
void |
setSrcdir(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
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public Path createSrc()
public void setSrcdir(Path dir)
public Path getSrcdir()
public void setDestdir(File dir)
public void setClasspath(Path path)
public Path getClasspath()
public Path createClasspath()
public void setClasspathRef(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 BuildException
BuildException
public void execute() throws BuildException
execute
in class Task
BuildException