Changeset 1886


Ignore:
Timestamp:
05/24/16 23:07:20 (8 years ago)
Author:
adeas31
Message:

Missing file from last commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.omc/src/org/modelica/mdt/omc/OMCProxy.java

    r1867 r1886  
    12181218                    String x = "OPENMODELICAHOME=" + omcBinary.getParentFile().getParentFile().getAbsolutePath();
    12191219                    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                   
    12281221                    Iterator<Entry<String, String>> i = entrySet.iterator();
    12291222                    while (i.hasNext()) {
     
    15971590        return resNum;
    15981591    }
     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    }
    15991601}
Note: See TracChangeset for help on using the changeset viewer.