-
Notifications
You must be signed in to change notification settings - Fork 0
/
loadManagerConfig.js
30 lines (27 loc) · 1.48 KB
/
loadManagerConfig.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* Configuration file for the Load manager.
* Configuration parameters :
* 1) oes.loadManager.basePath = "relative-path-to-oes-distribution-folder"
* relative path to the location of the oes distribution folder (where the
* simulator core and all the module files are located). The path is relative
* to the location of the HTML file that loads the "loadManager.js" script file,
* so to the location of simulation.html and/or description.html file.
* 2) oes.loadManager.codeLoadingMode = "one-of: {frameworkDev, dev, deploy}"
* default value is "frameworkDev", but for this case a loadManagerConfig.js/oes/
* file is not required and no configuration should be made anyway.
* 3) oes.loadManager.simsUrlIdentifier = "optional-sims-folder-identifier";
* defaults to "sims", but for the "dev" mode the best idea is to keep it ""
* so the loadManager auto-detects this value.
*
* NOTE: for oes.loadManager.codeLoadingMode = "frameworkDev" this configuration file is not required!
*
* @copyright Copyright 2016 Gerd Wagner and Mircea Diaconescu, BTU (Germany) + ODU (VA, USA)
* @author Mircea Diaconescu
* @license The MIT License (MIT)
*/
// NOTE: configuration is different for various environment and needs
// to be updated accordingly.
/******* Configuration for simulation development ****************/
oes.loadManager.basePath = "../framework/";
oes.loadManager.codeLoadingMode = "deploy";
oes.loadManager.simsUrlIdentifier = "";