<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 10/03/2014 01:18 PM, Steve Vinoski
wrote:<br>
</div>
<blockquote
cite="mid:CAO+zUOV_WziNfv6om+UHHEVXsXRXt4soeTjbAcgFF2EJB9C8Bw@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Oct 3, 2014 at 3:14 PM, Carlo
Pires <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:carlopires@gmail.com" target="_blank">carlopires@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hello,<br>
<br>
</div>
I'm trying to start and application from erlang REPL and
got the message:<br>
<br>
2> application:start(echo_test).<br>
{error,{not_started,erlzmq}}<br clear="all">
</div>
</blockquote>
<div><br>
</div>
<div>Assuming you're using a recent version of Erlang, try
application:ensure_all_started(echo_test) instead.</div>
</div>
</div>
</div>
</blockquote>
If you aren't, use reltool_util:application_start/1 from
<a class="moz-txt-link-freetext" href="https://github.com/okeuday/reltool_util">https://github.com/okeuday/reltool_util</a> . 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).<br>
<br>
<blockquote
cite="mid:CAO+zUOV_WziNfv6om+UHHEVXsXRXt4soeTjbAcgFF2EJB9C8Bw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div>--steve</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</body>
</html>