From 9a8cf135f56a2a9a615fdf22b9872d01d7caa5e0 Mon Sep 17 00:00:00 2001 From: lempinen Date: Tue, 17 Jan 2012 07:02:28 +0000 Subject: [PATCH] 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 --- .../src/org/simantics/modelica/ModelicaManager.java | 6 ------ 1 file changed, 6 deletions(-) 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(); -- 2.47.1