Package org.aspectj.tools.ant.taskdefs
Class AjcCompilerAdapter
java.lang.Object
org.aspectj.tools.ant.taskdefs.AjcCompilerAdapter
- All Implemented Interfaces:
org.apache.tools.ant.taskdefs.compilers.CompilerAdapter
public class AjcCompilerAdapter
extends Object
implements org.apache.tools.ant.taskdefs.compilers.CompilerAdapter
Partial implementation of CompilerAdapter for ajc task.
The Javac interface does not support argfiles which are
typically necessary to compile under ajc, so this
implementation is not documented, recommended, or supported.
See Apache request for enhancement
7542.
- See Also:
CompilerAdapter
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AjcCompilerAdapter
public AjcCompilerAdapter()
-
-
Method Details
-
setJavac
public void setJavac(org.apache.tools.ant.taskdefs.Javac javac)- Specified by:
setJavac
in interfaceorg.apache.tools.ant.taskdefs.compilers.CompilerAdapter
- See Also:
CompilerAdapter
-
execute
public boolean execute() throws org.apache.tools.ant.BuildExceptionRun the compiler.- Specified by:
execute
in interfaceorg.apache.tools.ant.taskdefs.compilers.CompilerAdapter
- Throws:
org.apache.tools.ant.BuildException
- if setJavac(Javac) was not called before each call of this- See Also:
CompilerAdapter.execute()
-