1
<?xml version="1.0" encoding="latin1" ?>
2
<!DOCTYPE fileref SYSTEM "fileref.dtd">
9
<holder>Ericsson AB, All Rights Reserved</holder>
12
The contents of this file are subject to the Erlang Public License,
13
Version 1.1, (the "License"); you may not use this file except in
14
compliance with the License. You should have received a copy of the
15
Erlang Public License along with this software. If not, it can be
16
retrieved online at http://www.erlang.org/.
18
Software distributed under the License is distributed on an "AS IS"
19
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
20
the License for the specific language governing rights and limitations
23
The Initial Developer of the Original Code is Ericsson AB.
33
<filesummary>Release resource file</filesummary>
35
<p>The <em>release resource file</em> specifies which applications are
36
are included in a release (system) based on Erlang/OTP.</p>
37
<p>This file is used by the functions in <c>systools</c> when generating
38
start scripts (<c>.script</c>, <c>.boot</c>) and release upgrade
39
files (<c>relup</c>).</p>
43
<title>FILE SYNTAX</title>
44
<p>The release resource file should be called <c>Name.rel</c>.</p>
45
<p>The <c>.rel</c> file contains one single Erlang term, which is
46
called a <em>release specification</em>. The file has the
49
{release, {RelName,Vsn}, {erts, EVsn},
50
[{Application, AppVsn} |
51
{Application, AppVsn, Type} |
52
{Application, AppVsn, IncApps} |
53
{Application, AppVsn, Type, IncApps}]}.
55
<list type="bulleted">
57
<p><c>RelName = string()</c> is the name of the release.</p>
60
<p><c>Vsn = string()</c> is the version of the release.</p>
63
<p><c>EVsn = string()</c> is the version of ERTS the release is
67
<p><c>Application = atom()</c> is the name of an application
68
included in the release.</p>
71
<p><c>AppVsn = string()</c> is the version of an application
72
included in the release.</p>
75
<p><c>Type = permanent | transient | temporary | load | none</c>
76
is the start type of an application included in the release.</p>
77
<p>If <c>Type = permanent | transient | temporary</c>,
78
the application will be loaded and started in the corresponding
79
way, see <c>application(3)</c>. If <c>Type = load</c>,
80
the application will only be loaded. If <c>Type = none</c>,
81
the application will be neither loaded nor started, although
82
the code for its modules will be loaded.
83
Defaults to <c>permanent</c></p>
86
<p><c>IncApps = [atom()]</c> is a list of applications that are
87
included by an application included in the release.</p>
88
<p>The list must be a subset of the included applications
89
specified in the application resource file
90
(<c>Application.app</c>) and overrides this value. Defaults
91
to the empty list.</p>
95
<p>The list of applications must contain the <c>kernel</c> and
96
<c>stdlib</c> applications.</p>
101
<title>SEE ALSO</title>
102
<p>application(3), relup(4), systools(3)</p>