Cloneable, SelectorContainerGenerateStubsTask, GroovycTaskpublic abstract class CompileTaskSupport extends MatchingTask
| Modifier and Type | Field | Description |
|---|---|---|
protected Path |
classpath |
|
protected CompilerConfiguration |
config |
|
protected File |
destdir |
|
protected boolean |
failOnError |
|
protected LoggingHelper |
log |
|
protected Path |
src |
filesetdescription, location, project| Constructor | Description |
|---|---|
CompileTaskSupport() |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract 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() |
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, XsetItemsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocationbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected final LoggingHelper log
protected Path src
protected File destdir
protected Path classpath
protected 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 CompilerConfiguration createConfiguration()
protected void validate()
throws BuildException
BuildExceptionprotected GroovyClassLoader createClassLoader()
protected void handleException(Exception e) throws BuildException
BuildExceptionpublic void execute()
throws BuildException
execute in class TaskBuildException