|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter | +--org.aspectj.tools.ant.taskdefs.compilers.Ajc
Ajc uses this as the CompilerAdapter. This task was developed by the AspectJ Project
Ajc
Field Summary | |
static int |
AJC_COMPILER_SUCCESS
The value of a compiler success. |
Fields inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter |
attributes, bootclasspath, compileClasspath, compileList, compileSourcepath, debug, depend, deprecation, destDir, encoding, extdirs, includeAntRuntime, includeJavaRuntime, location, lSep, memoryInitialSize, memoryMaximumSize, optimize, project, src, target, verbose |
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() |
protected void |
logAndAddFilesToCompile(org.apache.tools.ant.types.Commandline cmd)
Logs the compilation parameters, adds the files to compile and logs the &qout;niceSourceList" |
Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter |
addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, executeExternalCompile, getCompileClasspath, getJavac, setJavac, setupJavacCommand, setupJavacCommand, setupJavacCommandlineSwitches, setupJavacCommandlineSwitches, setupModernJavacCommand, setupModernJavacCommandlineSwitches |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int AJC_COMPILER_SUCCESS
Constructor Detail |
public Ajc()
Method Detail |
public boolean execute() throws org.apache.tools.ant.BuildException
compile() method.
- Overrides:
execute
in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
- Returns:
- true if a good compile, false otherwise.
- Throws:
org.apache.tools.ant.BuildException
-
protected void logAndAddFilesToCompile(org.apache.tools.ant.types.Commandline cmd)
logAndAddFilesToCompile
in class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |