Runtimes
Runtime is a base for running GIS sessions in MDT. It is responsible for launching
Smallworld™ GIS specific executables and setting up the environment on a runtime
level with respect to specified Smallworld™ GIS version.
To specify a runtime in MDT the following parameters have to be set:
- Runtime name
- Target GIS version
- Core product directory
- Smallworld™ GIS specific executables locations:
- gis.exe - application launcher
- sw_magik_win32.exe - session launcher
- mf_connector.exe - executable for connecting Method Finder and GIS session processes
- Environment file (optionally)
- Environment variables (optionally)
IMPORTANT NOTES:
- Once created runtime can be assigned to many GIS sessions.
- Core product directory location is resolved as SMALLWORLD_GIS
environment variable value.
- Environment file is a batch file that is run with system command shell to prepare environment
for the session.
- Environment variables can be defined directly or imported from a batch file.
- Environment variables are resolved after environment file variables.
That allows to override variables from environment file.
Read more about resolving environment variables in
Managing environment variables concept.
- MDT is responsible for storing and resolving runtime configuration.
Default runtime
Runtime Default is provided by MDT. It should be used when MDT is started instead of Emacs within existing environment.
The runtime is not available by default.
The runtime cannot be edited and removed. The runtime configuration is resolved at MDT startup with the use of the following
environment variables:
- PATH - determines location of gis.exe and sw_magik_win32.exe executables
- SMALLWORLD_GIS - determines runtime target GIS version and location of Core product directory
- SW_ACP_PATH - determines location of mf_connector.exe executable

Creating new Runtime

New
Runtime Wizard
Runtime Editor
GIS Session Preferences

Sessions
Session Links
Command Line Sessions
Managing environment variables