[erlang-bugs] R15B : Included application missing. Master application starting at second try.

PAILLEAU Eric eric.pailleau@REDACTED
Sun Jan 22 11:12:44 CET 2012


When forgeting path to an included application (here myapp1 is an
included application of myapp0 ), the master application do not start as
expected, but start at second try.
Is it a bug or intentional ? I didn't see this in documentation ...
Did I miss something ?

(below I forgot ' -pa /home/dev/myapp1/ebin ')

--------------------------------------8<---------------------
$> erl -pa /home/dev/myapp0/ebin

Erlang R15B (erts-5.9) [source] [smp:2:2] [async-threads:0] [hipe]
[kernel-poll:false]

Eshell V5.9  (abort with ^G)

1> application:start(myapp0).
{error,{"no such file or directory","myapp1.app"}}  <--- Expected

2> application:start(myapp0).

=ERROR REPORT==== 22-Jan-2012::10:44:43 ===
    from: myapp0
    application: myapp1
    config: default
    status: stopped
    reason: "Failed to start child."
    error: {{'EXIT',
                {undef,
                    [{myapp1,start,[normal,[]],[]},
			( ... SNIP ... SNIP ...)

=PROGRESS REPORT==== 22-Jan-2012::10:44:43 ===
         application: myapp0
          started_at: nonode@REDACTED
--------------------------------------8<---------------------








More information about the erlang-bugs mailing list