vle-forge / vle

Virtual Laboratory Environment
http://www.vle-project.org
GNU General Public License v3.0
21 stars 22 forks source link

versionning the vle.conf configuration file #351

Closed Chabrier closed 5 years ago

Chabrier commented 5 years ago

In order to have many version of vle installed on the same user account, it could be convenient to distinguish the vle.conf configuration file.

quesnel commented 5 years ago

On Thu 11 Oct 18, Patrick Chabrier wrote:

In order to have many version of vle installed on the same user account, it could be convenient to distinguish the vle.conf configuration file.

Problem comes from the VLE_COMMAND_VLE_SIMULATION (executable name: vle-$VLE_ABI_VERSION) [1]. User must use the --restart command line option to rewrite the vle.conf file between VLE 2.0 and VLE 2.1 otherwise, the VLE executable use can be the wrong.

Solutions are:

[1] https://github.com/vle-forge/vle/blob/master/src/vle/utils/ContextSettings.cpp#L74

quesnel commented 5 years ago

@rtrepos @Chabrier, I prefer the second solution. It's good for you?