]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
print for debugging problems with simulations with jenkins-built versions (refs ...
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 16 Jan 2012 14:10:02 +0000 (14:10 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 16 Jan 2012 14:10:02 +0000 (14:10 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23988 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java

index 0b81cadc551ddd3e32b4f87b77f036a9a71e37a4..e04860639a7703f7cbc2c8c7e83d000c5ce08432 100644 (file)
@@ -338,9 +338,11 @@ public class ModelicaManager {
             env.put("OPENMODELICALIBRARY", openModelicaHome.getAbsolutePath() + "\\lib\\omlibrary\\msl31");\r
             env.put("OMPATH", openModelicaHome.getAbsolutePath() + "\\bin");\r
             env.put("MINGW", openModelicaHome.getAbsolutePath() + "\\MinGW");\r
-            env.put("PATH", env.get("PATH") + System.getProperty("path.separator") + openModelicaHome.getAbsolutePath() + "\\bin"\r
-                    + System.getProperty("path.separator") + openModelicaHome.getAbsolutePath() + "\\MinGW\\lib");\r
-           \r
+            env.put("PATH", env.get("PATH") \r
+                    + System.getProperty("path.separator") + openModelicaHome.getAbsolutePath() + "\\bin"\r
+                    + System.getProperty("path.separator") + openModelicaHome.getAbsolutePath() + "\\MinGW\\lib"\r
+                    + System.getProperty("path.separator") + openModelicaHome.getAbsolutePath() + "\\MinGW\\bin");\r
+           monitor.message("MinGW path: " + openModelicaHome.getAbsolutePath() + "\\MinGW\\bin");\r
             // Simulate model\r
             Process process = processBuilder.start();\r
             \r