[erlang-questions] How to install recon

Dmitry mbike2000ru@REDACTED
Tue Jun 27 11:35:41 CEST 2017


I added recon to app.src file but still no luck
Here is my app.src file:

{application, acceptor,
 [
  {description, ""},
  {vsn, "1"},
  {registered, []},
  {applications, [
                  kernel,
                  stdlib,
                  ranch,
                  recon
                 ]},
  {mod, { acceptor_app, []}},
  {env, []}
 ]}. 


On Tuesday, June 27, 2017, 1:40:55 PM GMT+5, Roger Lipscombe <roger@REDACTED> wrote:

Also: is it added to the list of applications in your *release*? I
don't know how to do that with "rebar generate", but using relx, via
rebar3, it looks like this:

{relx, [
    {release, {foo, "1"}, [
        foo, bar, baz,
        {runtime_tools, load},
        {recon, load}
    ]},

'load' means "include it, but don't attempt to start it". We also
specify 'runtime_tools' so we can get 'dbg', etc.

On 27 June 2017 at 09:34, Luis Rascão <luis.rascao@REDACTED> wrote:
> Maybe you didn't add it to .app.src?
>
> On Tue, Jun 27, 2017 at 9:24 AM, Dmitry <mbike2000ru@REDACTED> wrote:
>>
>> Hello
>>
>>
>> I included recon as a dependency in rebar.config,
>>
>> After compilation and release generating (rebar compile and rebar
>> generate) I attached to the node and I see that all recon functions are
>> undefined.
>>
>> What am I missing?
>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
>
> --
> PGP fingerprint: F708 E141 AE8D 2D38 E1BC  DF3D 1719 3EA0 647D 7260
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170627/5b98cdfc/attachment.htm>


More information about the erlang-questions mailing list