[erlang-questions] Starting application with dependences [newbie]
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:
> I'm trying to start and application from erlang REPL and got the message:
> 2> application:start(echo_test).
> 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).
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions