<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; "><tt style="font-family: arial, sans-serif; "><font color="#000000"><div>
<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><tt><font color="#000000">Hi,</font></tt></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><tt><font color="#000000"><br>
</font></tt></span></div>Code path of application can specify to old location after release upgrade.</font></tt><div class="im"><br><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">It's possible if we change only vsn of application, no erlang code of</font></tt><br>
<tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">modules is changed. (In my case under priv directory I have JavaScript code).</font></tt><br><br><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">Generated relup doesnt contains instructions for reload application...</font></tt><br>
<tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">no 'load_object_code,{OurApp,NewVsn,Mods}'.</font></tt><br><br><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">After release upgraded we have:</font></tt><br>
<tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">application:loaded_applications() </font></tt><br><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">....</font></tt><br>
<tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">{OurApp,Description,NewVsn}</font></tt><br><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">....</font></tt><br>
<br><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">but </font></tt><br><br><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">code:priv_dir(OurApp) points to old location.</font></tt><br>
<br><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">If relup contains {OurApp,NewVsn,[]} then location of application is </font></tt><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">correctly updated.</font></tt><br>
<br><br><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">Andrew Gopienko</font></tt><br><tt style="color: rgb(80, 0, 80); font-family: arial, sans-serif; "><font color="#000000">ThreeLine LLC</font></tt></div>
<div class="im" style="font-family: arial, sans-serif; color: rgb(80, 0, 80); "><tt><font color="#000000"><br></font></tt></div></span>