[erlang-questions] Ability to add app directories explicitly for reltool
Siri Hansen
erlangsiri@REDACTED
Thu Jan 12 15:47:52 CET 2012
Ah... this is interesting... a missing test case maybe - but I'm not sure
if it is a bug.
What happens is that the duplicated module erl_parse causes erlson to
become derived since a module with the same name is used by stdlib and
several other applications. If it was only stdlib, then I guess reltool
could make the assumption that the module to use is the one in the same
application and thus never make erlson derived (because to this module,
that is). However, since the module in this case is also used by other
applications, this assumption is not that obvious.
The easiest way to get around this right now is to be more specific in the
config file to make sure that erlson (or only the erl_parse module) is
excluded... e.g. by adding
{app, erlson, [{incl_cond,exclude}]} or
{app, erlson, [{mod,erl_parse,[{incl_cond,exclude}]}]}
(The latter would allow erlson to be derived if any of it's other modules
were used by other applications)
Regards
/siri
2012/1/12 Dmitry Demeshchuk <demeshchuk@REDACTED>
> Try running this gist: https://gist.github.com/1600020
>
> reltool.config will reside in lib/gproc/rel/
>
> Thank you.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120112/6abd1b0b/attachment.htm>
More information about the erlang-questions
mailing list