[erlang-questions] Copying applications between different OTP versions

Ulf Wiger ulf@REDACTED
Sun Jun 24 20:48:05 CEST 2007

The .rel and .boot files have path names with explicit version
numbers in them, so the loader will not be able to find the
files, if you use a boot file with a different version of OTP.

Ulf W

2007/6/24, Kirill Zaborski <qrilka@REDACTED>:
> Do I understand right that I can not copy my application to an older OTP
> installation? E.g. If I make my app (boot-files and so on) with the latest
> OTP R11B-5 and the target system has R10B-10 (just a bit older than 1 year).
> If I run my boot file I get
> {"init terminating in do_boot",{'cannot load',error_handler,get_file}}
> System Principles in OTP documentation uses target_system.erl but which is
> not a part of OTP and I wonder why?
> And also it is useful for creating target system in the same OS and what if
> I run a Windows workstation and production code should run on some kind of
> Unix?
> As I understand to be able to install an application I need to have access
> to releases and lib directories of Erlang system so I copy myapp.tar.gz and
> then run release_handler:unpack_release(ReleaseName) and
> release_handler:install_release(Vsn). Am I right?
> Regards,
> Kirill.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list