Changeset 1568
- Timestamp:
- 07/10/12 01:51:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.omc/src/org/modelica/mdt/omc/OMCProxy.java
r1537 r1568 214 214 { 215 215 String fileName = null; 216 216 String temp = System.getProperty("java.io.tmpdir"); 217 217 /* This mirrors the way OMC creates the object file. */ 218 218 switch (os) … … 225 225 } 226 226 if (corbaSession == null || corbaSession.equalsIgnoreCase("")) 227 fileName = "/tmp/openmodelica." + username + ".objid";227 fileName = temp + "/openmodelica." + username + ".objid"; 228 228 else 229 fileName = "/tmp/openmodelica." + username + ".objid" + "." + corbaSession;229 fileName = temp + "/openmodelica." + username + ".objid" + "." + corbaSession; 230 230 break; 231 case WINDOWS: 232 String temp = System.getenv("TMP"); 231 case WINDOWS: 233 232 if (corbaSession == null || corbaSession.equalsIgnoreCase("")) 234 233 fileName = temp + "\\openmodelica.objid";
Note: See TracChangeset
for help on using the changeset viewer.