Map<String, String> env = processBuilder.environment();\r
\r
env.put("OPENMODELICAHOME", openModelicaHome.getAbsolutePath());\r
- monitor.message("OPENMODELICAHOME: " + openModelicaHome.getAbsolutePath() + "\\MinGW\\bin");\r
env.put("OPENMODELICALIBRARY", new File(openModelicaHome, "lib\\omlibrary").getAbsolutePath());\r
- monitor.message("OPENMODELICALIBRARY: " + env.get("OPENMODELICALIBRARY"));\r
env.put("OMPATH", new File(openModelicaHome, "bin").getAbsolutePath());\r
- monitor.message("OMPATH: " + env.get("OMPATH"));\r
env.put("MINGW", new File(openModelicaHome, "MinGW").getAbsolutePath());\r
- monitor.message("MINGW: " + env.get("MINGW"));\r
env.put("PATH", env.get("PATH") \r
+ System.getProperty("path.separator") + new File(openModelicaHome, "bin").getAbsolutePath()\r
+ System.getProperty("path.separator") + new File(openModelicaHome, "MinGW\\lib").getAbsolutePath()\r
+ System.getProperty("path.separator") + new File(openModelicaHome, "MinGW\\bin").getAbsolutePath());\r
- monitor.message("PATH: " + env.get("PATH"));\r
- \r
\r
// Start the building process\r
Process process = processBuilder.start();\r