Changeset 1886
- Timestamp:
- 05/24/16 23:07:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.omc/src/org/modelica/mdt/omc/OMCProxy.java
r1867 r1886 1218 1218 String x = "OPENMODELICAHOME=" + omcBinary.getParentFile().getParentFile().getAbsolutePath(); 1219 1219 lst.add(x); 1220 1221 if (System.getenv("OPENMODELICALIBRARY") == null) { 1222 String y = "OPENMODELICALIBRARY=" + 1223 omcBinary.getParentFile().getParentFile().getAbsolutePath() + 1224 "/lib/omlibrary"; 1225 lst.add(y); 1226 } 1227 1220 1228 1221 Iterator<Entry<String, String>> i = entrySet.iterator(); 1229 1222 while (i.hasNext()) { … … 1597 1590 return resNum; 1598 1591 } 1592 1593 @Override 1594 public String getModelicaPath() throws ConnectException, 1595 UnexpectedReplyException 1596 { 1597 ICompilerResult res = sendExpression("getModelicaPath()", true); 1598 String retval = res.getFirstResult(); 1599 return retval; 1600 } 1599 1601 }
Note: See TracChangeset
for help on using the changeset viewer.