public class AnnotationProcessingTask
extends org.apache.tools.ant.taskdefs.Javac
| Constructor and Description |
|---|
AnnotationProcessingTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkParameters() |
void |
execute()
Performs a compile using the Javac externally.
|
File |
getSourceDestDir()
Get the sourceDestDir attribute (-s javac parameter)
The default value is null.
|
boolean |
isProcOnly()
Get the compile option for the ap compiler.
|
void |
setProcOnly(boolean procOnly)
Set the compile option for the ap compiler.
|
void |
setSourceDestDir(File sourceDestDir)
Set the sourceDestDir attribute.
|
add, compile, createBootclasspath, createClasspath, createCompilerArg, createCompilerClasspath, createExtdirs, createSourcepath, createSrc, getBootclasspath, getClasspath, getCompiler, getCompilerVersion, getCurrentCompilerArgs, getDebug, getDebugLevel, getDepend, getDeprecation, getDestdir, getEncoding, getExecutable, getExtdirs, getFailonerror, getFileList, getIncludeantruntime, getIncludejavaruntime, getJavacExecutable, getListfiles, getMemoryInitialSize, getMemoryMaximumSize, getNowarn, getOptimize, getSource, getSourcepath, getSrcdir, getSystemJavac, getTarget, getTaskSuccess, getTempdir, getVerbose, isForkedJavac, isIncludeDestClasses, isJdkCompiler, recreateSrc, resetFileLists, scanDir, setBootclasspath, setBootClasspathRef, setClasspath, setClasspathRef, setCompiler, setCreateMissingPackageInfoClass, setDebug, setDebugLevel, setDepend, setDeprecation, setDestdir, setEncoding, setErrorProperty, setExecutable, setExtdirs, setFailonerror, setFork, setIncludeantruntime, setIncludeDestClasses, setIncludejavaruntime, setListfiles, setMemoryInitialSize, setMemoryMaximumSize, setNowarn, setOptimize, setProceed, setSource, setSourcepath, setSourcepathRef, setSrcdir, setTarget, setTempdir, setUpdatedProperty, setVerboseadd, 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, setTaskTypepublic File getSourceDestDir()
public void setSourceDestDir(File sourceDestDir)
sourceDestDir - directory where to place processor generated source files.public boolean isProcOnly()
public void setProcOnly(boolean procOnly)
procOnly - if true set the compile option.protected void checkParameters()
throws org.apache.tools.ant.BuildException
checkParameters in class org.apache.tools.ant.taskdefs.Javacorg.apache.tools.ant.BuildExceptionpublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.taskdefs.Javacorg.apache.tools.ant.BuildException - if there is a problem.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.