From 84b90d5323f4ed45664defb8edf5a1bbda79e8cb Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 10 Mar 2005 17:27:17 +0000 Subject: [PATCH] Guard logic for asm building initialized. --- .../org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 d0701d190..c4223b8b4 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 @@ -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 = ""; -- 2.39.5