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

Tristan Sloughter t@REDACTED
Sat Oct 4 00:43:05 CEST 2014


Or [1]http://relx.org/



--
Tristan Sloughter
t@REDACTED





On Fri, Oct 3, 2014, at 04:22 PM, Michael Truog wrote:

On 10/03/2014 01:18 PM, Steve Vinoski wrote:



On Fri, Oct 3, 2014 at 3:14 PM, Carlo Pires
<[2]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
[3]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
[4]erlang-questions@REDACTED [5]http://erlang.org/mailman/listinfo/erl
ang-questions



_______________________________________________

erlang-questions mailing list

[6]erlang-questions@REDACTED

[7]http://erlang.org/mailman/listinfo/erlang-questions

References

1. http://relx.org/
2. mailto:carlopires@REDACTED
3. https://github.com/okeuday/reltool_util
4. mailto:erlang-questions@REDACTED
5. http://erlang.org/mailman/listinfo/erlang-questions
6. mailto:erlang-questions@REDACTED
7. http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141003/6f2c0ff3/attachment.htm>


More information about the erlang-questions mailing list