org.aspectj.tools.ant.taskdefs.compilers
Class Ajc

java.lang.Object
  extended by org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
      extended by org.aspectj.tools.ant.taskdefs.compilers.Ajc
All Implemented Interfaces:
org.apache.tools.ant.taskdefs.compilers.CompilerAdapter

public class Ajc
extends org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter

Ajc uses this as the CompilerAdapter. This task was developed by the AspectJ Project

Author:
Jeffrey Palm
See Also:
org.aspectj.tools.ant.taskdefs.Ajc

Field Summary
static int AJC_COMPILER_SUCCESS
          The value of a compiler success.
 
Constructor Summary
Ajc()
           
 
Method Summary
 boolean execute()
          Checks the command line for arguments allowed only in AJC and disallowed by AJC and then calls the compile() method.
 
Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
getJavac, setJavac
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AJC_COMPILER_SUCCESS

public static final int AJC_COMPILER_SUCCESS
The value of a compiler success.

See Also:
Constant Field Values
Constructor Detail

Ajc

public Ajc()
Method Detail

execute

public boolean execute()
                throws org.apache.tools.ant.BuildException
Checks the command line for arguments allowed only in AJC and disallowed by AJC and then calls the compile() method.

Returns:
true if a good compile, false otherwise.
Throws:
org.apache.tools.ant.BuildException