summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2008-09-04 19:10:51 +0000
committeraclement <aclement>2008-09-04 19:10:51 +0000
commit48af77e2d1506a92f5a5af25fdb6289e9800cb4f (patch)
tree1d49fc7e6009a116b76bce1b20e84547aa237407 /org.aspectj.ajdt.core
parentd979cc0c4775d4e628a7635fe3803a79ef6d8c33 (diff)
downloadaspectj-48af77e2d1506a92f5a5af25fdb6289e9800cb4f.tar.gz
aspectj-48af77e2d1506a92f5a5af25fdb6289e9800cb4f.zip
delta change tracking for incr builds
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java4
1 files changed, 3 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 853ab1213..f3d6d89f4 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
@@ -282,8 +282,10 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour
binarySourcesForTheNextCompile = state.getBinaryFilesToCompile(true);
Set files = state.getFilesToCompile(true);
if (buildConfig.isEmacsSymMode() || buildConfig.isGenerateModelMode())
- if (AsmManager.attemptIncrementalModelRepairs)
+ if (AsmManager.attemptIncrementalModelRepairs) {
+ AsmManager.getDefault().resetDeltaProcessing();
AsmManager.getDefault().processDelta(files, state.getAddedFiles(), state.getDeletedFiles());
+ }
boolean hereWeGoAgain = !(files.isEmpty() && binarySourcesForTheNextCompile.isEmpty());
for (int i = 0; (i < 5) && hereWeGoAgain; i++) {
if (state.listenerDefined())