aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2005-03-10 17:27:17 +0000
committeraclement <aclement>2005-03-10 17:27:17 +0000
commit84b90d5323f4ed45664defb8edf5a1bbda79e8cb (patch)
tree167500b6f239cb7d28f87f61c41b613266e20dfc /org.aspectj.ajdt.core
parentf5c983b57d4bfd467cb7c45de7eea4a4adf88c61 (diff)
downloadaspectj-84b90d5323f4ed45664defb8edf5a1bbda79e8cb.tar.gz
aspectj-84b90d5323f4ed45664defb8edf5a1bbda79e8cb.zip
Guard logic for asm building initialized.
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java3
1 files changed, 2 insertions, 1 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 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 = "<root>";