From: aclement Date: Mon, 24 Jul 2006 11:16:47 +0000 (+0000) Subject: pr145689 - telling AJDT through the progress monitor (rather than a debug interface... X-Git-Tag: PRE_PIPELINE~26 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b508e08b7057cb601f481ec326b1a320f66e3370;p=aspectj.git pr145689 - telling AJDT through the progress monitor (rather than a debug interface) whether the build was full or incremental. --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index fe3e463b2..d77eecf7e 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -133,6 +133,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc private IHierarchy structureModel; public AjBuildConfig buildConfig; private boolean ignoreOutxml; + private boolean wasFullBuild = true; // true if last build was a full build rather than an incremental build AjState state = new AjState(this); @@ -318,7 +319,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc // have to tell state we succeeded or next is not incremental state.successfulCompile(buildConfig,batch); - + wasFullBuild = batch; copyResourcesToDestination(); if (buildConfig.getOutxmlName() != null) { @@ -1278,5 +1279,9 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc } } + + public boolean wasFullBuild() { + return wasFullBuild; + } }