From 48af77e2d1506a92f5a5af25fdb6289e9800cb4f Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 4 Sep 2008 19:10:51 +0000 Subject: [PATCH] delta change tracking for incr builds --- .../aspectj/ajdt/internal/core/builder/AjBuildManager.java | 4 +++- 1 file changed, 3 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 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()) -- 2.39.5