Browse Source

Guard logic for asm building initialized.

tags/V1_5_0M2
aclement 19 years ago
parent
commit
84b90d5323

+ 2
- 1
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java View 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>";

Loading…
Cancel
Save