From 64a47f48bceb4683c6e0d96924e1404ae5ddff9b Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Fri, 3 Jul 2020 14:05:09 +0300 Subject: [PATCH] Method for manually recompling a SCL Module gitlab #571 Change-Id: I4f09857cfbce03a869551e9e52430bb61792a7ad --- .../scl/compiler/module/repository/ModuleRepository.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/module/repository/ModuleRepository.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/module/repository/ModuleRepository.java index 79b596908..23491235c 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/module/repository/ModuleRepository.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/module/repository/ModuleRepository.java @@ -240,6 +240,10 @@ public class ModuleRepository { return getModule(moduleName, null); } + public void update(String moduleName) { + getModuleEntry(moduleName, null).notifyAboutUpdate(); + } + public Failable getRuntimeModule(String moduleName, UpdateListener listener) { return getModuleEntry(moduleName, listener).getRuntimeModule(); } -- 2.47.1