From 1cd631466bc35e05bc585999b2f325f148cd5629 Mon Sep 17 00:00:00 2001 From: Antti Villberg Date: Sat, 9 Nov 2019 21:56:15 +0200 Subject: [PATCH] Automatically import also SCLMain modules of dependent index roots gitlab #413 Change-Id: I0f2e345bc59aa1e74f90cd2a3d138de1d0befd36 --- .../db/common/request/RuntimeEnvironmentRequest.java | 7 +++++++ .../simantics/db/layer0/util/EnvironmentRequest.java | 10 +++++++++- .../db/layer0/util/RuntimeEnvironmentRequest2.java | 11 +++++++++-- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/bundles/org.simantics.db.common/src/org/simantics/db/common/request/RuntimeEnvironmentRequest.java b/bundles/org.simantics.db.common/src/org/simantics/db/common/request/RuntimeEnvironmentRequest.java index 24a5c10c9..777f1ede9 100644 --- a/bundles/org.simantics.db.common/src/org/simantics/db/common/request/RuntimeEnvironmentRequest.java +++ b/bundles/org.simantics.db.common/src/org/simantics/db/common/request/RuntimeEnvironmentRequest.java @@ -7,6 +7,7 @@ import org.simantics.db.common.utils.CommonDBUtils; import org.simantics.db.exception.DatabaseException; import org.simantics.db.procedure.Listener; import org.simantics.db.request.Read; +import org.simantics.layer0.Layer0; import org.simantics.scl.compiler.environment.specification.EnvironmentSpecification; import org.simantics.scl.compiler.module.repository.ImportFailureException; import org.simantics.scl.compiler.module.repository.UpdateListener; @@ -108,6 +109,12 @@ public class RuntimeEnvironmentRequest extends UnaryRead(environmentSpecification) { -- 2.47.1