finos / kdb-studio

Studio for kdb+ / Rapid execution environment for q
Apache License 2.0
18 stars 12 forks source link

config and log folder can be set with KDBSTUDIO_CONFIG_HOME variable #87

Closed dzmipt closed 2 years ago

dzmipt commented 2 years ago

(cherry picked from commit d6645dc0c2dcdc7199deb476951d40659742819e)

This is to allow to configure the folder with log and configuration files (studio.properties and workspace.properties). Default location is $HOME/.studioforkdb folder. The folder can be overridden with KDBSTUDIO_CONFIG_HOME variable (either by environment variable or java system property - the latter has precedence).

Also it was preserved possibility to pass java system property env which will be an extra folder under the config folder. The property is useful if a user wants to start several version of the kdbStudio. So logs and configuration are not clashed between environments.