summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2006-07-24 11:16:47 +0000
committeraclement <aclement>2006-07-24 11:16:47 +0000
commitb508e08b7057cb601f481ec326b1a320f66e3370 (patch)
tree44469d27eda41855ffa33c86ea1501641e4de968 /org.aspectj.ajdt.core
parentbeaeab3dbf69175b3f08c30bb6ae82aa6b4eb728 (diff)
downloadaspectj-b508e08b7057cb601f481ec326b1a320f66e3370.tar.gz
aspectj-b508e08b7057cb601f481ec326b1a320f66e3370.zip
pr145689 - telling AJDT through the progress monitor (rather than a debug interface) whether the build was full or incremental.
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java7
1 files changed, 6 insertions, 1 deletions
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;
+ }
}