]> source.dussan.org Git - aspectj.git/commitdiff
Guard logic for asm building initialized.
authoraclement <aclement>
Thu, 10 Mar 2005 17:27:17 +0000 (17:27 +0000)
committeraclement <aclement>
Thu, 10 Mar 2005 17:27:17 +0000 (17:27 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java

index d0701d190eedc0c9df4fbb29e3a1e2dfb4c73d48..c4223b8b40fa01e6561765f2af22b5a7db8924cb 100644 (file)
@@ -444,9 +444,10 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc
      * Responsible for managing the ASM model between builds.  Contains the policy for
      * maintaining the persistance of elements in the model.
      * 
-     * TODO: implement incremental policy.
      */
      private void setupModel(AjBuildConfig config) {
+       AsmManager.setCreatingModel(config.isEmacsSymMode() || config.isGenerateModelMode());
+       if (!AsmManager.isCreatingModel()) return;
                IHierarchy model = AsmManager.getDefault().getHierarchy();
                String rootLabel = "<root>";