]> source.dussan.org Git - aspectj.git/commitdiff
delta change tracking for incr builds
authoraclement <aclement>
Thu, 4 Sep 2008 19:10:51 +0000 (19:10 +0000)
committeraclement <aclement>
Thu, 4 Sep 2008 19:10:51 +0000 (19:10 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java

index 853ab12130619d2a0d478b18d7f59b301378c538..f3d6d89f4ac0d3bfd515d564d7ee431a437d4be7 100644 (file)
@@ -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())