|
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.apache.tools.ant.taskdefs.MatchingTask org.codehaus.groovy.ant.CompileTaskSupport
public abstract class CompileTaskSupport extends MatchingTask
Support for compilation related tasks.
Field Summary | |
---|---|
protected Path |
classpath
|
protected CompilerConfiguration |
config
|
protected File |
destdir
|
protected boolean |
failOnError
|
protected LoggingHelper |
log
|
protected Path |
src
|
Method Summary | |
---|---|
protected void
|
compile()
|
protected GroovyClassLoader
|
createClassLoader()
|
Path
|
createClasspath()
|
CompilerConfiguration
|
createConfiguration()
|
Path
|
createSrc()
|
void
|
execute()
|
Path
|
getClasspath()
|
boolean
|
getFailonerror()
|
Path
|
getSrcdir()
|
protected void
|
handleException(Exception e)
|
void
|
setClasspath(Path path)
|
void
|
setClasspathRef(Reference r)
|
void
|
setDestdir(File dir)
|
void
|
setFailonerror(boolean fail)
|
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 |
Field Detail |
---|
protected Path classpath
protected CompilerConfiguration config
protected File destdir
protected boolean failOnError
protected final LoggingHelper log
protected Path src
Method Detail |
---|
protected void compile()
protected GroovyClassLoader createClassLoader()
public Path createClasspath()
public CompilerConfiguration createConfiguration()
public Path createSrc()
public void execute()
public Path getClasspath()
public boolean getFailonerror()
public Path getSrcdir()
protected void handleException(Exception e)
public void setClasspath(Path path)
public void setClasspathRef(Reference r)
public void setDestdir(File dir)
public void setFailonerror(boolean fail)
public void setSrcdir(Path dir)
protected void validate()
Copyright © 2003-2013 The Codehaus. All rights reserved.