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

java.lang.Object
  extended by DefaultCompilerAdapter
      extended by org.aspectj.tools.ant.taskdefs.compilers.Ajc

public class Ajc
extends DefaultCompilerAdapter

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

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.
protected  void logAndAddFilesToCompile(Commandline cmd)
          Logs the compilation parameters, adds the files to compile and logs the &qout;niceSourceList"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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 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
BuildException

logAndAddFilesToCompile

protected void logAndAddFilesToCompile(Commandline cmd)
Logs the compilation parameters, adds the files to compile and logs the &qout;niceSourceList"