Retrieve release name
Wed Sep 14 11:51:09 CEST 2005
However, in practice, it is very unlikely that there are several
releases in the dictionary.
I don't think that anyone would install DEVELOPMENT systems that way
(even though it would probably work).
In a TARGET system (which is what Gunilla's answer refers to),
I haven't heard of anyone actually using the release handler to
upgrade from one major release of OTP to another.
So I think that you could quite safely ignore the possibility of
multiple major releases in one directory tree.
Gunilla Arendt <> writes:
> Yes, there could be several release directories there, if you are
> using OTP release handling (the ability to upgrade to/downgrade from
> new versions of an entire release in run-time). Read more in the
> chapter 'Release Handling' in OTP Design Principles.
> / Gunilla
> Vlad Dumitrescu XX (LN/EAB) wrote:
> > Hi again,
> > I have another question on this issue: Start.script is also
> > available in $ERL_TOP/releases/<RELNAME>. Could it happen that there
> > are several release directories present there? I don't think it
> > would be very meaningful, but stranger things have happened :-)
> > Thanks in advance,
> > Vlad
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions