|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.codehaus.groovy.ant.UberCompileTask
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.
Nested Class Summary | |
---|---|
class |
UberCompileTask.GenStubsAdapter
|
class |
UberCompileTask.GroovycAdapter
|
class |
UberCompileTask.JavacAdapter
|
Constructor Summary | |
UberCompileTask()
|
Method Summary | |
---|---|
Path
|
createClasspath()
|
GenStubsAdapter
|
createGeneratestubs()
|
GroovycAdapter
|
createGroovyc()
|
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 | |
---|---|
log, log, log, log, init, execute, maybeConfigure, getTaskName, getOwningTarget, setRuntimeConfigurableWrapper, getTaskType, setTaskType, setTaskName, setOwningTarget, getRuntimeConfigurableWrapper, reconfigure, perform, bindToOwner, clone, getLocation, getDescription, setLocation, setDescription, getProject, setProject, wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Methods inherited from class ProjectComponent | |
---|---|
clone, log, log, getLocation, getDescription, setLocation, setDescription, getProject, setProject, wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Constructor Detail |
---|
UberCompileTask()
Method Detail |
---|
public Path createClasspath()
public GenStubsAdapter createGeneratestubs()
public GroovycAdapter createGroovyc()
public 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-2009 The Codehaus. All rights reserved.