From: aclement Date: Thu, 4 Sep 2008 19:10:51 +0000 (+0000) Subject: delta change tracking for incr builds X-Git-Tag: V1_6_2~103 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=48af77e2d1506a92f5a5af25fdb6289e9800cb4f;p=aspectj.git delta change tracking for incr builds --- 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())