[erlang-bugs] Code path of application

Andrew Gopienko <>
Mon Jun 20 14:19:53 CEST 2011


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

Generated relup doesnt contains instructions for reload application...
no 'load_object_code,{OurApp,NewVsn,Mods}'.

After release upgraded we have:


code:priv_dir(OurApp) points to old location.

If relup contains {OurApp,NewVsn,[]} then location of application is correctly

Andrew Gopienko
ThreeLine LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20110620/1de357e3/attachment.html>

More information about the erlang-bugs mailing list