Origen.mode= does not seem to work all of the time
Opened this issue · 2 comments
Hi,
I have been reworking our application to allow it to find target files from a different stash repo and as such am programmatically making symlinks and setting targets. We do not use production mode currently so I need to always set the mode to debug so users don't have to worry about it.
Origen.mode = :debug if Origen.mode.production?
Just a bit further in my boot.rb I make a symbolic link to the target file and attempt to load it. Notice the mode has been succesfully set to debug but the session store has not.
Is this by design? The command origen m debug
does set the session store.
thx
It is intentional that Origen.mode =
only lasts for the duration of the thread and does not affect the underlying workspace mode.
No problem with adding an API to do that though if this is something you want to do programatically.
@ginty, OK gothca, will do.