On Mon 22 Jul 2019 at 19:25, Dale Henrichs <dale.henri...@gemtalksystems.com> wrote:
> I am currently using Pharo 7.0 and I've just discovered that my "local > directory" is > /home/dhenrich/rogue/_homes/rogue/_home/dev/clients/gci_70_tst/pharo-local: > > > This file has to date back to the beginning of the year and i had deleted > that directory structure a week or so ago before starting on my (totally > unrelated work) and didn't discover the problem until i tried to run an > image created locally up on traivs[1], where this bug[2] manifested itself > and I eventually tracked the source of problem to the "local directory" > setting ... > > Now I would like to know where the pharo settings file is hiding, so that > I can avoid running into this problem in the future ... ... > > I've poked around in the Settings Browser looking for the default location > of the settings file. There's "Store Settings" and "Load Settings", but > nothing that allows me to find out/control the location of the settings > file itself ... > > ... I only got to this point by tracing back from allinstances of > OmSessionStore to a class var where the "directory" was stored and then got > the settings browser by looking at senders ... but now I've run out of > ideas. > > I assume that this is common knowledge, but not quite common enough for > me:) > > Thanks in advance for the help. > Hi Dale, I’m on phone so I cannot check exactly but you can get the location by executing `FileLocator preferences asFileReference`. > Dale > > > [1] https://travis-ci.org/dalehenrich/st_launcher/builds/561863077#L603 > [2] https://github.com/pharo-project/pharo-launcher/issues/37 > -- Cyril Ferlicot https://ferlicot.fr