Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  Code path is not updated if no module is loaded in the appup

Guest
Posted: Fri May 21, 2010 9:14 am Reply with quote
Guest
Hello,

With R13B04 (and earlier), we noticed that the code path is not updated when installing a release if no module is to be added/deleted/reloaded in the .appup file. This is a problem as the release can consist in an update to non-code files, such as MIBs, resources in priv directory, etc.

For example, if the appup is the following:

{"16",
[{"15",
[
]}
],
[{"15",
[
]}
]
}.

The generated relup is the following:

{"802",[{"801",[],[point_of_no_return]}],[{"801",[],[point_of_no_return]}]}.

application:which_applications returns that the application version "16" is installed and running. However, code:priv_dir and code:get_path refers to version "15" of the application.

Regards,

Paul


________________________________________________________________
erlang-bugs (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-bugs-unsubscribe@erlang.org

Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum