public abstract class CompileTaskSupport extends MatchingTask
| Modifier and Type | Field and Description |
|---|---|
protected Path |
classpath |
protected org.codehaus.groovy.control.CompilerConfiguration |
config |
protected File |
destdir |
protected boolean |
failOnError |
protected LoggingHelper |
log |
protected Path |
src |
filesetdescription, location, project| Constructor and Description |
|---|
CompileTaskSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
compile() |
protected groovy.lang.GroovyClassLoader |
createClassLoader() |
Path |
createClasspath() |
org.codehaus.groovy.control.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() |
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocationprotected final LoggingHelper log
protected Path src
protected File destdir
protected Path classpath
protected org.codehaus.groovy.control.CompilerConfiguration config
protected boolean failOnError
public void setFailonerror(boolean fail)
public boolean getFailonerror()
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.control.CompilerConfiguration createConfiguration()
protected void validate()
throws BuildException
BuildExceptionprotected groovy.lang.GroovyClassLoader createClassLoader()
protected void handleException(Exception e) throws BuildException
BuildExceptionpublic void execute()
throws BuildException
execute in class TaskBuildException