erlang release ???

Ulf Wiger <>
Fri Aug 18 09:21:34 CEST 2006


> Only by maintaining your own map, for instance:
>
> vsn_to_release("5.3.6.3") -> "R9C-2";
> ...
>
> /Bjorn

The most intuitive way to address this question (I think),
would be to update the version string in the boot script:

=PROGRESS REPORT==== 18-Aug-2006::09:15:00 ===
         application: sasl
          started_at: 
release_handler:which_releases().
[{"OTP  APN 181 01","R10B",[],permanent}]

Of course, commercial customers also have a tendency to
selectively apply patch packages, which makes it even
more difficult to tell exactly which version is running.

There should perhaps also be a script allowing the
maintainer to log which patches or diffs have been
applied, and a corresponding release_handler function
to list them.

BR,
Ulf W


> "Valentin Micic [ MTN - Innovation Centre ]" <> writes:
>
>> Is there a way of mapping erlang emulator version, as reported during
>> the run-time to a particular release? For example, ERTS 5.3 in indicates
>> R9C, whereas 5.3.6.3 indicates R9C-2 (or I got it completely wrong?).
>>
>> V.
>>
>> -----Original Message-----
>> From: 
>> [mailto:] On Behalf Of Bjorn Gustavsson
>> Sent: Thursday, 17 August 2006 9:23 AM
>> To: 
>> Subject: Re: erlang release ???
>>
>> It is currently not possible.
>>
>> /Bjorn
>>
>> "Sanjaya Vitharana" <> writes:
>>
>> > Hi
>> >
>> > erl -version gives the version number.
>> > "init:script_id()" & "ls /usr/local/lib/erlang/releases/" gives more
>> info about release. But seems it gives "R10B" instead of "R10B-8".
>> >
>> > So how to find the exact release number of elang???. i.e R10B-8,
>> R10B-9 ... etc
>> >
>> > thanks
>> >
>> > Sanjaya Vitharana
>>
>> --
>> Björn Gustavsson, Erlang/OTP, Ericsson AB
>>
>>
>> NOTE: This e-mail message is subject to the MTN Group disclaimer see
>> http://www.mtn.co.za/disclaimer
>>
>
> --
> Björn Gustavsson, Erlang/OTP, Ericsson AB
>





More information about the erlang-questions mailing list