Common Test and dependencies on the code path

Tuncer Ayaz tuncer.ayaz at gmail.com
Wed Dec 8 18:36:57 EST 2010


On Mon, Nov 22, 2010 at 11:30 AM, Benjamin Nortier wrote:
> On Fri, Nov 19, 2010 at 5:57 PM, David Smith wrote:
>>
>> As an interstitial fix, I would suggest filtering out directories that
>> are not part of the root code path, ala:
>>
>> 3> R = code:root_dir().
>> "/Users/dizzyd/Applications/erlang-r13b04/lib/erlang"
>> 4> [P || P <- code:get_path(), lists:prefix(R, P) == false].
>> [".","/Users/dizzyd/.erlang.code"]
>>
>> If you update your patch to do something like that, I'd be ok
>> including it. It's still a little brute force, but better than having
>> it not work right. :)
>
> Great, will do

Thanks, merged.



More information about the rebar mailing list