|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.codehaus.groovy.ant.UberCompileTask
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.
Method Summary | |
---|---|
Path
|
createClasspath()
|
UberCompileTask.GenStubsAdapter
|
createGeneratestubs()
|
UberCompileTask.GroovycAdapter
|
createGroovyc()
|
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()
|
Methods inherited from class Task | |
---|---|
maybeConfigure, getOwningTarget, getTaskName, getTaskType, setTaskType, setTaskName, setOwningTarget, getRuntimeConfigurableWrapper, setRuntimeConfigurableWrapper, reconfigure, perform, bindToOwner, log, log, log, log, init, execute, getProject, setLocation, setProject, clone, getLocation, getDescription, setDescription, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Methods inherited from class ProjectComponent | |
---|---|
getProject, setLocation, setProject, clone, log, log, getLocation, getDescription, setDescription, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
public Path createClasspath()
public UberCompileTask.GenStubsAdapter createGeneratestubs()
public UberCompileTask.GroovycAdapter createGroovyc()
public UberCompileTask.JavacAdapter createJavac()
public Path createSrc()
public void execute()
public Path getClasspath()
public Path getSrcdir()
public void setClasspath(Path path)
public void setClasspathRef(Reference r)
public void setDestdir(File dir)
public void setSrcdir(Path dir)
protected void validate()
Copyright © 2003-2013 The Codehaus. All rights reserved.