[erlang-questions] Running rebar generated release failing with Kernel pid terminated"

Loïc Hoguin <>
Thu Dec 13 13:28:48 CET 2012


On 12/13/2012 01:14 PM, Tuncer Ayaz wrote:
> On Thu, Dec 13, 2012 at 12:55 PM, Loic Hoguin wrote:
>> The problem is probably that rebar doesn't use the default reltool
>> mod_cond value. So not all modules are included. Try changing it to
>> this:
>>
>>      {mod_cond, all}
>
> For certain incorrect/incomplete app resource files you may have to
> use such a work around. Normally the right solution is to fix the app
> resource files.

Why change the default reltool value in the first place, though? I don't 
get it. Also how would reltool know I need certain modules if they're 
only used dynamically?

-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu



More information about the erlang-questions mailing list