From: Marko Luukkainen Date: Fri, 3 Jul 2020 11:05:09 +0000 (+0300) Subject: Method for manually recompling a SCL Module X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F4353%2F1;p=simantics%2Fplatform.git Method for manually recompling a SCL Module gitlab #571 Change-Id: I4f09857cfbce03a869551e9e52430bb61792a7ad (cherry picked from commit 64a47f48bceb4683c6e0d96924e1404ae5ddff9b) --- 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(); }