This is an interface module for the Reltool application.
Reltool is a release management tool. It analyses a
given Erlang/OTP installation and determines various dependencies
between applications. The
The tool uses an installed Erlang/OTP system as input.
An application directory
It is recommended that application directories are named as the
application, possibly followed by a dash and the version
number. For example
Finally single modules and entire applications may be read from Escripts.
Some configuration parameters control the behavior of Reltool
on system (
The following top level
This is the main option and it controls the configuration
of
This option controls the error handling behavior of
This option controls the debug level of
Besides the already mentioned source parameters
Erts specific configuration. See application level options below.
Escript specific configuration. An escript has a mandatory file name and escript level options that are described below.
Application specific configuration. An application has a mandatory name and application level options that are described below.
This parameter controls the module inclusion policy. It
defaults to
This parameter controls the application and escript
inclusion policy. It defaults to
A target system may have several releases but the one given
as
Release specific configuration. Each release maps to a
This parameter controls whether the
The creation of the specification for a target system is
performed in two steps. In the first step a complete
specification is generated. It will likely contain much more
files than you are interested in in your customized target
system. In the second step the specification will be filtered
according to your filters. There you have the ability to
specify filters per application as well as system wide
filters. You can also select a
This parameter controls the default handling of the
The
This option is experimental.
If the
When starting this release, three things must be specified:
Example:
erl -sasl releases_dir \"mytarget/releases\" -boot mytarget/releases/1.0/myrel\
-boot_var RELTOOL_EXT_LIB mytarget/lib
This parameter normally contains a list of regular
expressions that controls which files in the system
should be included. Each file in the target system must match
at least one of the listed regular expressions in order to be
included. Further the files may not match any filter in
This parameter normally contains a list of regular
expressions that controls which files in the system should
not be included in the target system. In order to be
included, a file must match some filter in
This parameter normally contains a list of regular
expressions that controls which application specific files
that should be included. Each file in the application must
match at least one of the listed regular expressions in order
to be included. Further the files may not match any filter in
This parameter normally contains a list of regular
expressions that controls which application specific files
should not be included in the target system. In order to
be included, a file must match some filter in
This parameter normally contains a list of regular
expressions that controls which top level directories in an
application should be included in an archive file (as
opposed to being included as a regular directory outside the
archive). Each top directory in the application must match at
least one of the listed regular expressions in order to be
included. Further the files may not match any filter in
This parameter normally contains a list of regular
expressions that controls which top level directories in an
application should not be included in an archive file. In
order to be included in the application archive, a top
directory must match some filter in
This parameter contains a list of options that are given to
On application (
The value of this parameter overrides the parameter with the same name on system level.
On application (
The version of the application. In an installed system there may
exist several versions of an application. The
This parameter is mutual exclusive with
Note that in order for reltool to sort application versions
and thereby be able to select the latest, it is required that
the version id for the application consits of integers and
dots only, for example
The directory to read the application from. This parameter can be used to point out a specific location to fetch the application from. This is useful for instance if the parent directory for some reason is no good as a library directory on system level.
This parameter is mutual exclusive with
Note that in order for reltool to sort application versions
and thereby be able to select the latest, it is required that
the version id for the application consits of integers and
dots only, for example
Module specific configuration. A module has a mandatory name and module level options that are described below.
The value of this parameter overrides the parameter with the same name on system level.
The value of this parameter overrides the parameter with the same name on system level.
The value of this parameter overrides the parameter with the same name on system level.
The value of this parameter overrides the parameter with the same name on system level.
The value of this parameter overrides the parameter with the same name on system level.
The value of this parameter overrides the parameter with the same name on system level.
The value of this parameter overrides the parameter with the same name on system level.
The value of this parameter overrides the parameter with the same name on system level.
The value of this parameter overrides the parameter with the same name on system level.
On module (
This parameter controls whether the module is included or not. By
default the
The value of this parameter overrides the parameter with the same name on application level.
Create a target system. Gives the same result as
Create the actual target system from a specification
generated by
The top directories
If the configuration parameter
In most cases, the
Get reltool configuration. Shorthand for
Get reltool configuration. Normally, only the explicit
configuration parameters with values that differ from their
defaults are interesting. But the builtin default values can be
returned by setting
Get contents of a release file. See
Get contents of a boot script file. See
Get status about the configuration
Return the process identifier of the server process.
Return a specification of the target system. The actual
target system can be created with
Install a created target system
Start a main window process with default options
Start a main window process with options
Start a main window process with options. The process is linked.
Start a server process with options. The server process identity can be given as an argument to several other functions in the API.
Stop a server or window process