From cf37bb6416195126f503e7319b2c15c14e19f2b1 Mon Sep 17 00:00:00 2001 From: lempinen Date: Mon, 16 Jan 2012 14:10:02 +0000 Subject: [PATCH] print for debugging problems with simulations with jenkins-built versions (refs #2925) git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23988 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/modelica/ModelicaManager.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java b/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java index 0b81cadc..e0486063 100644 --- a/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java +++ b/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java @@ -338,9 +338,11 @@ public class ModelicaManager { env.put("OPENMODELICALIBRARY", openModelicaHome.getAbsolutePath() + "\\lib\\omlibrary\\msl31"); env.put("OMPATH", openModelicaHome.getAbsolutePath() + "\\bin"); env.put("MINGW", openModelicaHome.getAbsolutePath() + "\\MinGW"); - env.put("PATH", env.get("PATH") + System.getProperty("path.separator") + openModelicaHome.getAbsolutePath() + "\\bin" - + System.getProperty("path.separator") + openModelicaHome.getAbsolutePath() + "\\MinGW\\lib"); - + env.put("PATH", env.get("PATH") + + System.getProperty("path.separator") + openModelicaHome.getAbsolutePath() + "\\bin" + + System.getProperty("path.separator") + openModelicaHome.getAbsolutePath() + "\\MinGW\\lib" + + System.getProperty("path.separator") + openModelicaHome.getAbsolutePath() + "\\MinGW\\bin"); + monitor.message("MinGW path: " + openModelicaHome.getAbsolutePath() + "\\MinGW\\bin"); // Simulate model Process process = processBuilder.start(); -- 2.47.1