rebar xref badmatch error in find_mfa_source
jeraymond at gmail.com
Tue Apr 20 13:35:02 EDT 2010
I patched this by adding "./ebin" to the code path in the xref command. Not
sure if there is a better way to do this.
On Tue, Apr 20, 2010 at 1:05 PM, Jeremy Raymond <jeraymond at gmail.com> wrote:
> When I do a `rebar xref` in my project directory (named data) I get the
> ERROR: xref failed while processing /home/jeremy/tmp/test/data:
> The call to code:get_object_code/1 in find_mfa_source/1 is failing to find
> the object code of my module and returning the atom error. If I set ERL_LIBS
> to the current directory (export ERL_LIBS=.) the command is able to find my
> module and completes successfully. I diff'd the code paths with and without
> setting ERL_LIBS and the difference is that when I set ERL_LIBS Erlang adds
> "./ebin" to the code path where it find my module.
> For the xref command could rebar automatically add the expected paths to
> the code path?
> Jeremy Raymond
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rebar