]> source.dussan.org Git - aspectj.git/commitdiff
pr145689 - telling AJDT through the progress monitor (rather than a debug interface...
authoraclement <aclement>
Mon, 24 Jul 2006 11:16:47 +0000 (11:16 +0000)
committeraclement <aclement>
Mon, 24 Jul 2006 11:16:47 +0000 (11:16 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java

index fe3e463b232ec330d56a17438f1573f4a55b82cb..d77eecf7e18eb8c70128e597de065f5cce621b8d 100644 (file)
@@ -133,6 +133,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc
        private IHierarchy structureModel;
        public AjBuildConfig buildConfig;
        private boolean ignoreOutxml;
+       private boolean wasFullBuild = true; // true if last build was a full build rather than an incremental build
        
        AjState state = new AjState(this);
     
@@ -318,7 +319,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc
             
             // have to tell state we succeeded or next is not incremental
             state.successfulCompile(buildConfig,batch);
-
+            wasFullBuild = batch;
             copyResourcesToDestination();
             
             if (buildConfig.getOutxmlName() != null) {
@@ -1278,5 +1279,9 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc
                }
                
        }
+
+       public boolean wasFullBuild() {
+               return wasFullBuild;
+       }
 }