<div dir="ltr"><div><div><div>Hi Serge,<br><br></div>the embedded mode has always been this way, and I think it is the desired behaviour. In embedded mode, all code is loaded during system start-up
according to the boot script (where all required paths are specified). There is no dynamic code loading in this mode.<br><br></div>In some (debugging) cases you might want to load code which is not part of your release (i.e. not specified in the boot script). This is still possible, but then you need to explicitly add the paths using code:add_path and friends.<br>
<br></div><div>Regards<br></div><div>/siri<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-10 21:35 GMT+02:00 Serge Aleynikov <span dir="ltr"><<a href="mailto:serge@aleynikov.org" target="_blank">serge@aleynikov.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">When trying to start a node with the "-mode embedded" command-line option I noticed that ERL_LIBS environment variable setting gets ignored. Has this always been this way or it is a recent change? Is this the desired behavior?</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The culprit is in the code_server:add_loader_path/2 function.</div>
<span class="HOEnZb"><font color="#888888">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Serge<br></div></font></span></div>
<br>_______________________________________________<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" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>