public class CompileJavaccTask extends AbstractJavaccTask
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TASK_DESCRIPTION_VALUE |
static java.lang.String |
TASK_NAME_VALUE |
programArguments| Constructor and Description |
|---|
CompileJavaccTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
augmentArguments(java.io.File inputDirectory,
org.gradle.api.file.RelativePath inputRelativePath,
ProgramArguments arguments)
Gives a chance to sub-classes to add some required arguments for example, the output directory.
|
protected org.gradle.api.file.FileVisitor |
getJavaccSourceFileVisitor() |
protected java.lang.String |
getProgramName() |
protected void |
invokeCompiler(ProgramArguments arguments) |
void |
run() |
protected java.lang.String |
supportedSuffix() |
compile, compileSourceFilesToTempOutputDirectory, copyCompiledFilesFromTempOutputDirectoryToOutputDirectory, copyNonJavaccFilesToOutputDirectory, getArguments, getInputDirectory, getNonJavaccSourceFileVisitor, getOutputDirectory, getTempOutputDirectory, setArguments, setInputDirectory, setInputDirectory, setOutputDirectory, setOutputDirectoryexclude, exclude, exclude, exclude, getExcludes, getIncludes, getSource, include, include, include, include, setExcludes, setIncludes, setSource, sourceconventionMapping, conventionMapping, getConventionMappingaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic static final java.lang.String TASK_NAME_VALUE
public static final java.lang.String TASK_DESCRIPTION_VALUE
public void run()
protected void augmentArguments(java.io.File inputDirectory,
org.gradle.api.file.RelativePath inputRelativePath,
ProgramArguments arguments)
AbstractJavaccTaskaugmentArguments in class AbstractJavaccTaskinputDirectory - The input directory from which input relative path is derived.inputRelativePath - The input path relative to the input directory. This is the file that will be "compiled".arguments - The ProgramArguments to add new arguments to.protected java.lang.String getProgramName()
getProgramName in class AbstractJavaccTaskprotected void invokeCompiler(ProgramArguments arguments) throws java.lang.Exception
invokeCompiler in class AbstractJavaccTaskjava.lang.Exceptionprotected org.gradle.api.file.FileVisitor getJavaccSourceFileVisitor()
getJavaccSourceFileVisitor in class AbstractJavaccTaskprotected java.lang.String supportedSuffix()
supportedSuffix in class AbstractJavaccTask