[erlang-questions] Starting application with dependences [newbie]

Michael Truog mjtruog@REDACTED
Fri Oct 3 23:22:38 CEST 2014


On 10/03/2014 01:18 PM, Steve Vinoski wrote:
>
>
> On Fri, Oct 3, 2014 at 3:14 PM, Carlo Pires <carlopires@REDACTED <mailto:carlopires@REDACTED>> wrote:
>
>     Hello,
>
>     I'm trying to start and application from erlang REPL and got the message:
>
>     2> application:start(echo_test).
>     {error,{not_started,erlzmq}}
>
>
> Assuming you're using a recent version of Erlang, try application:ensure_all_started(echo_test) instead.
If you aren't, use reltool_util:application_start/1 from https://github.com/okeuday/reltool_util .  That route also handles module loading which isn't currently handled in the application module.  It is better to use a release though, as was mentioned previously (normally starting an Erlang OTP application programmatically is only done for testing).

>
> --steve
>
>
> _______________________________________________
> 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/20141003/831e063c/attachment.htm>


More information about the erlang-questions mailing list