[erlang-bugs] Reltool and code clash

Andrew Gopienko <>
Mon Apr 11 06:49:54 CEST 2011


In case of code clash between applications reltool skips beam files in
generated release.

I have Tsung installed under /usr/local/lib/erlang/lib and
my release directory (rebar based) with mochiweb application.
Tsung and mochiweb have same beams - mochijson2, mochinum, mochiweb_charref,
mochiweb_html.
Key fragment of reltool.config
       {app, mochiweb,    [{incl_cond, include}]},
       {app, 'tsung-1.4.0a',  [{incl_cond, exclude}]},

For such configuration reltool generates release in which there are no files
 mochijson2.beam, mochinum.beam, mochiweb_charref.beam, mochiweb_html.beam
in mochiweb application.

I think, in this situation, reltool can return an error or using the hint
{incl_cond, exclude} to generate the proper release spec.


Andrew Gopienko
ThreeLine LLC
trxline.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20110411/77fcf7ec/attachment.html>


More information about the erlang-bugs mailing list