Erlang: определение рабочего каталога для mnesia?

Вы могли изучить psh здесь: http://gnp.github.io/psh/

Это - полное на оболочке (можно использовать его в замене удара, например), но синтаксис жемчуга использования.. таким образом, можно создать методы на лету и т.д.

6
задан jldupont 3 December 2009 в 19:53
поделиться

2 ответа

application: set_env (mnesia, dir, Dir).

13
ответ дан 8 December 2019 в 16:04
поделиться

Besides the method call mentioned in other responses here you can also specify this in a system configuration file or .app file specified with the -config parameter. See http://erlang.org/doc/design_principles/applications.html#id2270704 for more information. This allows you keep the configuration seperate from the code and avoid a lot of command line flags.

2
ответ дан 8 December 2019 в 16:04
поделиться
Другие вопросы по тегам:

Похожие вопросы: