In case of code clash between applications reltool skips beam files in generated release.<div><br></div><div>I have Tsung installed under /usr/local/lib/erlang/lib and </div><div>my release directory (rebar based) with mochiweb application.</div>
<div>Tsung and mochiweb have same beams - mochijson2, mochinum, mochiweb_charref, mochiweb_html.</div><div>Key fragment of reltool.config</div><div><div> {app, mochiweb, [{incl_cond, include}]},</div></div><div><div>
{app, 'tsung-1.4.0a', [{incl_cond, exclude}]},</div></div><div><br></div><div>For such configuration reltool generates release in which there are no files</div><div> mochijson2.beam, mochinum.beam, mochiweb_charref.beam, mochiweb_html.beam in mochiweb application.</div>
<div><br></div><div>I think, in this situation, reltool can return an error or using the hint {incl_cond, exclude} to generate the proper release spec.</div><div><br></div><div><br></div><div>Andrew Gopienko</div><div>ThreeLine LLC</div>
<div><a href="http://trxline.ru">trxline.ru</a></div><div><br></div><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8">