org.aspectj.tools.ant.taskdefs
Class AjcCompilerAdapter

java.lang.Object
  extended by org.aspectj.tools.ant.taskdefs.AjcCompilerAdapter

public class AjcCompilerAdapter
extends java.lang.Object

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
AjcCompilerAdapter()
           
 
Method Summary
 boolean execute()
          Run the compiler.
 void setJavac(Javac javac)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjcCompilerAdapter

public AjcCompilerAdapter()
Method Detail

setJavac

public void setJavac(Javac javac)
See Also:
CompilerAdapter

execute

public boolean execute()
                throws BuildException
Run the compiler.

Throws:
BuildException - if setJavac(Javac) was not called before each call of this
See Also:
CompilerAdapter#execute()