From: jsimomaa Date: Thu, 15 Feb 2018 08:54:00 +0000 (+0200) Subject: setSystemProperty function to Simantics/Misc SCL-module X-Git-Tag: v1.43.0~136^2~590 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=4e4e1a6afd61fb03feaba789d99bd24c0ce68e8c;ds=sidebyside setSystemProperty function to Simantics/Misc SCL-module refs #7769 Change-Id: I6e1969bf09f0267b706242ad80b483fd11db140d --- diff --git a/bundles/org.simantics.modeling/scl/Simantics/Misc.scl b/bundles/org.simantics.modeling/scl/Simantics/Misc.scl index 945e913a6..8b7662992 100644 --- a/bundles/org.simantics.modeling/scl/Simantics/Misc.scl +++ b/bundles/org.simantics.modeling/scl/Simantics/Misc.scl @@ -141,7 +141,9 @@ loop4 testScan testList found = do importJava "java.lang.System" where @JavaName "getProperty" getSystemProperty :: String -> Maybe String - + @JavaName setProperty + setSystemProperty :: String -> String -> String + importJava "org.simantics.modeling.LifeCycleContext" where data LifeCycleContext