From: lempinen Date: Tue, 17 Jan 2012 07:02:28 +0000 (+0000) Subject: Removed unnecessary documentation from openmodelica, fixed environment variable paths... X-Git-Tag: simantics-1.6~48 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=9a8cf135f56a2a9a615fdf22b9872d01d7caa5e0;p=simantics%2Fsysdyn.git Removed unnecessary documentation from openmodelica, fixed environment variable paths. (refs #2925) git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23993 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java b/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java index 5a50a04b..d77b4379 100644 --- a/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java +++ b/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java @@ -285,19 +285,13 @@ public class ModelicaManager { Map env = processBuilder.environment(); env.put("OPENMODELICAHOME", openModelicaHome.getAbsolutePath()); - monitor.message("OPENMODELICAHOME: " + openModelicaHome.getAbsolutePath() + "\\MinGW\\bin"); env.put("OPENMODELICALIBRARY", new File(openModelicaHome, "lib\\omlibrary").getAbsolutePath()); - monitor.message("OPENMODELICALIBRARY: " + env.get("OPENMODELICALIBRARY")); env.put("OMPATH", new File(openModelicaHome, "bin").getAbsolutePath()); - monitor.message("OMPATH: " + env.get("OMPATH")); env.put("MINGW", new File(openModelicaHome, "MinGW").getAbsolutePath()); - monitor.message("MINGW: " + env.get("MINGW")); env.put("PATH", env.get("PATH") + System.getProperty("path.separator") + new File(openModelicaHome, "bin").getAbsolutePath() + System.getProperty("path.separator") + new File(openModelicaHome, "MinGW\\lib").getAbsolutePath() + System.getProperty("path.separator") + new File(openModelicaHome, "MinGW\\bin").getAbsolutePath()); - monitor.message("PATH: " + env.get("PATH")); - // Start the building process Process process = processBuilder.start();