<div>Hi Alexander.</div><div>š</div><div>Please seeš<a href="https://github.com/nevar/sys_test">https://github.com/nevar/sys_test</a>.</div><div>š</div><div>09.01.2013, 20:14, "Alexander 0xAX" <anotherworldofworld@gmail.com>:</div><blockquote><div dir="ltr"><div>Hello,</div><div>š</div><div>I have simple test application with test.app.src file, test_app.erl and test_sup.erl</div><div>š</div><div>Also i want to read config in my application. I have app.config:</div><div>š</div><div>[<br />š{my_app_config,š<br />š [{key1, "val"}]}<br />].</div><div>š</div><div>I run my application:</div><div>š</div><div>erl -boot start_sasl -config app.config -s test_app</div><div>š</div><div>And now, after application successful starting i try to read my config:</div><div>š</div><div>>application:get_env(test_app, my_app_config).</div><div>undefined</div><div>š</div><div>Why? How can i correctly read config file?</div><div>š</div><div>Thank you.</div></div>,<p>_______________________________________________<br />erlang-questions mailing list<br /><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br /><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></p></blockquote>