[erlang-bugs] Bug in reltool App Discovery

Eric Merritt ericbmerritt@REDACTED
Tue Mar 27 18:20:13 CEST 2012


On Tue, Mar 27, 2012 at 4:08 AM, Siri Hansen <erlangsiri@REDACTED> wrote:
>
> Den 15:11 23. mars 2012 skrev Eric Merritt <ericbmerritt@REDACTED>
> følgende:
>>
>> If you have two versions of an application say foo-2.0 and
>> foo-3.0, and foo 2.0 is in the root_dir, while foo 3.0 is in a
>> lib_dir. In the spec you have specified an app entry with a vsn
>> of 3.0, then reltool will fail to find 3.0 basically saying that
>> 'foo' or 3.0 could not be found.
>>
>> If you then delete 2.0 from the root directory it happly resolves
>> 3.0 with no further changes.
>>
>> both applications are in the normal OTP App format of <name>-<vsn>
>> with a valid app file in ebin specifying the metadata.
>>
>> There have been *many* other things that I would consider bugs, but
>> may not be depending on your interpretation, but this one seems to be
>> pretty obvious.
>> _______________________________________________
>> erlang-bugs mailing list
>> erlang-bugs@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-bugs
>
>
> Hi Eric! Thanks for reporting this!
>
> When you say you have foo-2.0 in the root_dir, do you mean directly under
> the $ROOT or in $ROOT/lib??

Directly under root I am pretty sure (I need to redo it to make sure I
have forgotten a bit). However, it was root_dir as specified in the
config. I basically specified a root_dir and a lib_dir directly


> Please feel free to list the other issues that you regard as bugs, and I
> will have a look at it.

I will pull a list together. I have the details spread around a bit.

>
> Also, there has been a rather big update of reltool including many bug fixes
> in the upcoming R15B01, so maybe some of your issues are already taken care
> of... :)

Sir

>
> /siri



More information about the erlang-bugs mailing list