How to install recon

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to install recon

Dmitry
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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to install recon

Luis Rascão-2
Maybe you didn't add it to .app.src?

On Tue, Jun 27, 2017 at 9:24 AM, Dmitry <[hidden email]> 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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions




--
PGP fingerprint: F708 E141 AE8D 2D38 E1BC  DF3D 1719 3EA0 647D 7260

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to install recon

Roger Lipscombe-2
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 <[hidden email]> wrote:

> Maybe you didn't add it to .app.src?
>
> On Tue, Jun 27, 2017 at 9:24 AM, Dmitry <[hidden email]> 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
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
>
> --
> PGP fingerprint: F708 E141 AE8D 2D38 E1BC  DF3D 1719 3EA0 647D 7260
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to install recon

Dmitry
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 <[hidden email]> 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 <[hidden email]> wrote:

> Maybe you didn't add it to .app.src?
>
> On Tue, Jun 27, 2017 at 9:24 AM, Dmitry <[hidden email]> 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
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
>
> --
> PGP fingerprint: F708 E141 AE8D 2D38 E1BC  DF3D 1719 3EA0 647D 7260

>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to install recon

Dmitry
when I do:

application:ensure_all_started(recon).
{error,{recon,{"no such file or directory","recon.app"}}} 


On Tuesday, June 27, 2017, 2:35:41 PM GMT+5, Dmitry <[hidden email]> wrote:


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 <[hidden email]> 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 <[hidden email]> wrote:

> Maybe you didn't add it to .app.src?
>
> On Tue, Jun 27, 2017 at 9:24 AM, Dmitry <[hidden email]> 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
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
>
> --
> PGP fingerprint: F708 E141 AE8D 2D38 E1BC  DF3D 1719 3EA0 647D 7260

>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to install recon

Dmitry
When I added recon to the reltool.config - the problem disappeared.


On Tuesday, June 27, 2017, 5:07:09 PM GMT+5, Dmitry <[hidden email]> wrote:


when I do:

application:ensure_all_started(recon).
{error,{recon,{"no such file or directory","recon.app"}}} 


On Tuesday, June 27, 2017, 2:35:41 PM GMT+5, Dmitry <[hidden email]> wrote:


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 <[hidden email]> 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 <[hidden email]> wrote:

> Maybe you didn't add it to .app.src?
>
> On Tue, Jun 27, 2017 at 9:24 AM, Dmitry <[hidden email]> 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
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
>
> --
> PGP fingerprint: F708 E141 AE8D 2D38 E1BC  DF3D 1719 3EA0 647D 7260

>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Loading...