<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:small;"><div><div>when I do:</div></div><div><br></div><div>application:ensure_all_started(recon).
<br>{error,{recon,{"no such file or directory","recon.app"}}} <br></div><div><br></div><div><br></div><div id="yahoo_quoted_8628939878" class="yahoo_quoted"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div>On Tuesday, June 27, 2017, 2:35:41 PM GMT+5, Dmitry <mbike2000ru@yahoo.com> wrote:</div><div><br></div><div><br></div><div><div id="yiv9975312193"><html><head></head><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:small;"><div><div>I added recon to app.src file but still no luck</div></div><div><br clear="none"></div><div>Here is my app.src file:</div><div><br clear="none"></div><div><br clear="none"></div><div>{application, acceptor,
<br clear="none"> [
<br clear="none"> {description, ""},
<br clear="none"> {vsn, "1"},
<br clear="none"> {registered, []},
<br clear="none"> {applications, [
<br clear="none"> kernel,
<br clear="none"> stdlib,
<br clear="none"> ranch,
<br clear="none"> recon
<br clear="none"> ]},
<br clear="none"> {mod, { acceptor_app, []}},
<br clear="none"> {env, []}
<br clear="none"> ]}. <br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div class="yiv9975312193yqt9278200075" id="yiv9975312193yqt31207"><div class="yiv9975312193yahoo_quoted" id="yiv9975312193yahoo_quoted_8732507371"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div>On Tuesday, June 27, 2017, 1:40:55 PM GMT+5, Roger Lipscombe <roger@differentpla.net> wrote:</div><div><br clear="none"></div><div><br clear="none"></div><div><div dir="ltr"></div></div></div></div></div></div></div><html><div class="yiv9975312193yqt9278200075" id="yiv9975312193yqt39795"><div>Also: is it added to the list of applications in your *release*? I<br clear="none">don't know how to do that with "rebar generate", but using relx, via<br clear="none">rebar3, it looks like this:<br clear="none"><br clear="none">{relx, [<br clear="none"> {release, {foo, "1"}, [<br clear="none"> foo, bar, baz,<br clear="none"> {runtime_tools, load},<br clear="none"> {recon, load}<br clear="none"> ]},<br clear="none"><br clear="none">'load' means "include it, but don't attempt to start it". We also<br clear="none">specify 'runtime_tools' so we can get 'dbg', etc.<br clear="none"><br clear="none">On 27 June 2017 at 09:34, Luis Rascão <<a rel="nofollow" shape="rect" ymailto="mailto:luis.rascao@gmail.com" target="_blank" href="mailto:luis.rascao@gmail.com">luis.rascao@gmail.com</a>> wrote:<br clear="none">> Maybe you didn't add it to .app.src?<br clear="none">><br clear="none">> On Tue, Jun 27, 2017 at 9:24 AM, Dmitry <<a rel="nofollow" shape="rect" ymailto="mailto:mbike2000ru@yahoo.com" target="_blank" href="mailto:mbike2000ru@yahoo.com">mbike2000ru@yahoo.com</a>> wrote:<br clear="none">>><br clear="none">>> Hello<br clear="none">>><br clear="none">>><br clear="none">>> I included recon as a dependency in rebar.config,<br clear="none">>><br clear="none">>> After compilation and release generating (rebar compile and rebar<br clear="none">>> generate) I attached to the node and I see that all recon functions are<br clear="none">>> undefined.<br clear="none">>><br clear="none">>> What am I missing?<br clear="none">>><br clear="none">>><br clear="none">>><br clear="none">>> _______________________________________________<br clear="none">>> erlang-questions mailing list<br clear="none">>> <a rel="nofollow" shape="rect" ymailto="mailto:erlang-questions@erlang.org" target="_blank" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br clear="none">>> <a rel="nofollow" shape="rect" target="_blank" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br clear="none">>><br clear="none">><br clear="none">><br clear="none">><br clear="none">> --<br clear="none">> PGP fingerprint: F708 E141 AE8D 2D38 E1BC DF3D 1719 3EA0 647D 7260<div class="yiv9975312193yqt4041900166" id="yiv9975312193yqtfd14378"><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> erlang-questions mailing list<br clear="none">> <a rel="nofollow" shape="rect" ymailto="mailto:erlang-questions@erlang.org" target="_blank" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br clear="none">></div></div></div></html></html></div></div></div></div></div></body></html>