*/
public class AspectJBuildManager implements BuildManager {
- private CompilerAdapter compiler = null;
+ private CompilerAdapter compilerAdapter = null;
private TaskListManager compilerMessages = null;
private BuildProgressMonitor progressMonitor = null;
private BuildOptionsAdapter buildOptions = null;
this.compilerMessages = compilerMessages;
this.progressMonitor = progressMonitor;
this.buildOptions = buildOptions;
- this.compiler = new CompilerAdapter();
+ this.compilerAdapter = new CompilerAdapter();
}
public void buildFresh() {
fresh = true;
}
if (fresh) {
- this.compiler.nextBuildFresh();
+ this.compilerAdapter.nextBuildFresh();
}
CompilerThread compilerThread = new CompilerThread();
compilerThread.start();
}
public void abortBuild() {
- if (compiler != null) {
- compiler.requestCompileExit();
+ if (compilerAdapter != null) {
+ compilerAdapter.requestCompileExit();
}
}
public boolean isStructureDirty() {
- if (compiler != null) {
- return compiler.isStructureDirty();
+ if (compilerAdapter != null) {
+ return compilerAdapter.isStructureDirty();
} else {
return false;
}
}
public void setStructureDirty(boolean structureDirty) {
- if (compiler != null) {
- compiler.setStructureDirty(structureDirty);
+ if (compilerAdapter != null) {
+ compilerAdapter.setStructureDirty(structureDirty);
}
}
Ajde.getDefault().logEvent("building with options: "
+ getFormattedOptionsString(buildOptions, Ajde.getDefault().getProjectProperties()));
- succeeded = compiler.compile(configFile, progressMonitor);
+ succeeded = compilerAdapter.compile(configFile, progressMonitor);
long timeEnd = System.currentTimeMillis();
lastCompileTime = (int)(timeEnd - timeStart);