Changeset 658 in tmcsimulator for trunk/src/tmcsim/cadsimulator/Coordinator.java


Ignore:
Timestamp:
09/12/2022 02:19:40 PM (4 years ago)
Author:
jdalbey
Message:

Replace hard-code scenario folder name in Simulation Manager with config property.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/cadsimulator/Coordinator.java

    r657 r658  
    8383import tmcsim.interfaces.CoordinatorInterface; 
    8484import tmcsim.interfaces.SimulationManagerInterface; 
    85 import static tmcsim.simulationmanager.SimulationManager.kScenarioFolder; 
    8685import tmcsim.simulationmanager.SimulationManagerView; 
    8786import tmcsim.simulationmanager.actions.LoadScriptAction; 
     87import static tmcsim.simulationmanager.SimulationManager.SCENARIOS_DIR; 
    8888 
    8989/** 
     
    167167        try 
    168168        { 
    169             CardfileReader cfr = new CardfileReader(kScenarioFolder+"/Cardfile.xml", cardfileData); 
     169            CardfileReader cfr = new CardfileReader(SCENARIOS_DIR+"/Cardfile.xml", cardfileData); 
    170170        } catch (Exception e) 
    171171        { 
Note: See TracChangeset for help on using the changeset viewer.