8000 application start order has changed · Issue #569 · erlware/relx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
application start order has changed #569
Closed
@massemanet

Description

@massemanet

I have a release that consists of two applications. I need one of the applications ('appenv') to start before all the dependencies of the second ('reporter').
This is how relx used to generate the boot script. E.g. in relx 3.21.1 (rebar3 3.3.2) it would start appenv before the dependencies of reporter, but in relx 3.22.2 (rebar3 3.3.5) it doesn't.
Is this a bug or a feature? If it is intended bahaviour, how am I supposed to specify that an app should start first?

{relx, [{release, {reporter, {semver,""}}, [appenv, reporter]},

rebar 3.3.2 on Erlang/OTP 18 Erts 7.3

     {progress,applications_loaded},
     {apply,{application,start_boot,[kernel,permanent]}},
     {apply,{application,start_boot,[stdlib,permanent]}},
     {apply,{application,start_boot,[appenv,permanent]}},
...
     {apply,{application,start_boot,[reporter,permanent]}},
     {apply,{c,erlangrc,[]}},
     {progress,started}]}.

rebar 3.3.5 on Erlang/OTP 18 Erts 7.3

     {progress,applications_loaded},
     {apply,{application,start_boot,[erlang_localtime,permanent]}},
     {apply,{application,start_boot,[kernel,permanent]}},
     {apply,{application,start_boot,[stdlib,permanent]}},
...
     {apply,{application,start_boot,[appenv,permanent]}},
     {apply,{application,start_boot,[reporter,permanent]}},
     {apply,{c,erlangrc,[]}},
     {progress,started}]}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0