From b508e08b7057cb601f481ec326b1a320f66e3370 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 24 Jul 2006 11:16:47 +0000 Subject: [PATCH] pr145689 - telling AJDT through the progress monitor (rather than a debug interface) whether the build was full or incremental. --- .../aspectj/ajdt/internal/core/builder/AjBuildManager.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; + } } -- 2.39.5