diff options
author | Paul Guyot <[email protected]> | 2010-06-06 22:26:08 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2011-02-25 14:37:07 +0100 |
commit | 49d011c355682ce5cb5447c682684031dab82e8b (patch) | |
tree | e170f8d7c0762b62264ea61c2c7efea59961d608 /lib/tools/examples/xref_examples.erl | |
parent | 5e354ca66996ee03d615dc36c284e94ccf176e89 (diff) | |
download | otp-49d011c355682ce5cb5447c682684031dab82e8b.tar.gz otp-49d011c355682ce5cb5447c682684031dab82e8b.tar.bz2 otp-49d011c355682ce5cb5447c682684031dab82e8b.zip |
Honor start type in .rel files when building relup files
Previously, relup file always included an
application:start(Application, permanent) apply instruction for every
application that appear in the UpTo/DowFrom release file, whatever
their start type in the release file.
The new implementation fixes this bug by honoring the start type
according to the rel(5) format. If the start type is none, no apply
line is included in the relup. If the start type is load, the relup
includes instruction to only load the application. Otherwise, the
relup includes an instruction to start the application to the
according type.
The fix is implemented by adding a new parameter to the
add_application high level appup instruction. This new parameter is
documented in appup(5).
Diffstat (limited to 'lib/tools/examples/xref_examples.erl')
0 files changed, 0 insertions, 0 deletions