Changeset 404 for trunk/org.modelica.mdt.omc/src/org/modelica/mdt
- Timestamp:
- 03/09/06 09:57:55 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.omc/src/org/modelica/mdt/omc/OMCProxy.java
r397 r404 226 226 * by checking in it's varius subdirectory for the omc binary file 227 227 */ 228 logOMCStatus("Using standard path toomc-binary");228 logOMCStatus("Using OPENMODELICAHOME environment variable to find omc-binary"); 229 229 230 230 /* … … 248 248 for (String subdir : subdirs) 249 249 { 250 File file = new File(openModelicaHome + 251 subdir + File.separator + binaryName); 250 251 String path = omcWorkingDirectory.getAbsolutePath() + File.separator; 252 path += subdir.equals("") ? binaryName : subdir + File.separator + binaryName; 253 254 File file = new File(path); 252 255 253 256 if (file.exists()) … … 261 264 if (omcBinary == null) 262 265 { 263 logOMCStatus("Could not fine omc-binary on the standardpath");266 logOMCStatus("Could not fine omc-binary on the OPENMODELICAHOME path"); 264 267 throw new ConnectException("Unable to start the OpenModelica Compiler, binary not found"); 265 268 }
Note: See TracChangeset
for help on using the changeset viewer.