[erlang-bugs] Code path of application
Siri Hansen
erlangsiri@REDACTED
Mon Jun 20 14:57:52 CEST 2011
Hi Andrew - thanks for reporting this. I will have a look at it.
Regards
siri@REDACTED
2011/6/20 Andrew Gopienko <gopienko@REDACTED>
> Hi,
>
> Code path of application can specify to old location after release upgrade.
>
> It's possible if we change only vsn of application, no erlang code of
> modules is changed. (In my case under priv directory I have JavaScript
> code).
>
> Generated relup doesnt contains instructions for reload application...
> no 'load_object_code,{OurApp,NewVsn,Mods}'.
>
> After release upgraded we have:
> application:loaded_applications()
> ....
> {OurApp,Description,NewVsn}
> ....
>
> but
>
> code:priv_dir(OurApp) points to old location.
>
> If relup contains {OurApp,NewVsn,[]} then location of application is correctly
> updated.
>
>
> Andrew Gopienko
> ThreeLine LLC
>
>
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20110620/78c63092/attachment.htm>
More information about the erlang-bugs
mailing list