org.apache.tools.ant.taskdefs.compilers

Class AptExternalCompilerAdapter

Implemented Interfaces:
CompilerAdapter

public class AptExternalCompilerAdapter
extends DefaultCompilerAdapter

The implementation of the apt compiler for JDK 1.5 using an external process
Since:
Ant 1.7

Field Summary

Fields inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter

attributes, bootclasspath, compileClasspath, compileList, compileSourcepath, debug, depend, deprecation, destDir, encoding, extdirs, includeAntRuntime, includeJavaRuntime, lSep, location, memoryInitialSize, memoryMaximumSize, optimize, project, src, target, verbose

Method Summary

boolean
execute()
Performs a compile using the Javac externally.
protected Apt
getApt()
Get the facade task that fronts this adapter

Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter

addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, assumeJava14, assumeJava15, assumeJava16, executeExternalCompile, executeExternalCompile, getBootClassPath, getCompileClasspath, getJavac, getNoDebugArgument, getProject, logAndAddFilesToCompile, setJavac, setupJavacCommand, setupJavacCommand, setupJavacCommandlineSwitches, setupJavacCommandlineSwitches, setupModernJavacCommand, setupModernJavacCommandlineSwitches

Method Details

execute

public boolean execute()
            throws BuildException
Performs a compile using the Javac externally.
Specified by:
execute in interface CompilerAdapter
Returns:
true the compilation was successful.
Throws:
BuildException - if there is a problem.

getApt

protected Apt getApt()
Get the facade task that fronts this adapter
Returns:
task instance