From a4f95e725f2d2f7d5c231b3992a000d7fc9bc247 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Tue, 6 May 2003 17:44:50 +0000 Subject: [PATCH] creating a fresh AjState object whenever doing a batch build to make sure we're doing a completely new build without confusion from previous state --- .../aspectj/ajdt/internal/core/builder/AjBuildManager.java | 4 ++++ 1 file changed, 4 insertions(+) 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 09fef6dc4..0b3d37171 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 @@ -93,6 +93,10 @@ public class AjBuildManager { boolean batch) throws IOException, AbortException { try { + if (batch) { + this.state = new AjState(this); + } + boolean canIncremental = state.prepareForNextBuild(buildConfig); if (!canIncremental && !batch) { // retry as batch? return doBuild(buildConfig, handler, true); -- 2.39.5