diff options
author | jhugunin <jhugunin> | 2003-05-06 17:44:50 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-05-06 17:44:50 +0000 |
commit | a4f95e725f2d2f7d5c231b3992a000d7fc9bc247 (patch) | |
tree | 1ea294db918e94527f38a31ac1936413e0a9691f /org.aspectj.ajdt.core | |
parent | 55508643c4cf0f239e7afe23055e37fcbaf93e42 (diff) | |
download | aspectj-a4f95e725f2d2f7d5c231b3992a000d7fc9bc247.tar.gz aspectj-a4f95e725f2d2f7d5c231b3992a000d7fc9bc247.zip |
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
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 4 |
1 files changed, 4 insertions, 0 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 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); |