public class Ajc11CompilerAdapter
extends java.lang.Object
Javac usually prunes the source file list based on the timestamps of corresponding .class files, which is wrong for ajc which requires all the files every time. To work around this, set the global property CLEAN ("build.compiler.clean") to delete all .class files in the destination directory before compiling.
Warnings:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLEAN
Define this system/project property to signal that the
destination directory should be cleaned
and javac reinvoked
to get the complete list of files every time.
|
Constructor and Description |
---|
Ajc11CompilerAdapter() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute() |
void |
setJavac(Javac javac) |
public static final java.lang.String CLEAN