Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Question Designer overwrites embedded runtime scripts on every startup

More
03 Apr 2017 20:30 #1 by craigacgomez
craigacgomez created the topic: Designer overwrites embedded runtime scripts on every startup
Designer Version: S18.3.1_20170217_092932
Operating System: Linux x64

If I change any of the runtime scripts of the embedded runtime, for example initvariables.sh, the changes are overwritten with the packaged defaults the next time I start up the designer.

Steps:
1. Start up the designer. If this is the first time, the runtime directory (stambiaRuntime) is created and the runtime is extracted here
2. Exit the designer and modify one of the runtime scripts in the runtime directory. For example, edit initvariables.sh and change the value of STAMBIA_MAX_MEMORY to 2048m (default is 512m).
3. Start up the designer.
4. Open the initvariables.sh.

Expected:
The changes to initvariables.sh should remain

Actual:
initvariables.sh is reverted back to the default state (STAMBIA_MAX_MEMORY is reset to 512m)
More
04 Apr 2017 12:31 #2 by Thomas BLETON
Thomas BLETON replied the topic: Designer overwrites embedded runtime scripts on every startup
Hi, thank you for your message.

The actual behavior is the intended one.
The Runtime provided inside the Designer is indeed re-initialized at each Designer startup. This provides a way to keep a "clean" Runtime somewhere for you to test.

Most often, users setup a Runtime out of the Designer folder (or some server), and they customize it at will.
That being said, as we know that some users prefer to work with their local Runtime-of-the-Designer, we provide a mechanism for preventing the reset. Please read this article for more information.