Method for manually recompling a SCL Module 53/4353/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 3 Jul 2020 11:05:09 +0000 (14:05 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 3 Jul 2020 11:26:56 +0000 (11:26 +0000)
gitlab #571

Change-Id: I4f09857cfbce03a869551e9e52430bb61792a7ad
(cherry picked from commit 64a47f48bceb4683c6e0d96924e1404ae5ddff9b)

bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/module/repository/ModuleRepository.java

index 79b596908962b2f4d8fbc4b8c09e74c9266bd213..23491235ce3289c46fd254009cde5963774374d6 100644 (file)
@@ -240,6 +240,10 @@ public class ModuleRepository {
         return getModule(moduleName, null);
     }
     
+    public void update(String moduleName) {
+        getModuleEntry(moduleName, null).notifyAboutUpdate();
+    }
+    
     public Failable<RuntimeModule> getRuntimeModule(String moduleName, UpdateListener listener) {
         return getModuleEntry(moduleName, listener).getRuntimeModule();
     }