diff options
author | Siri Hansen <[email protected]> | 2012-09-14 16:07:18 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-09-14 16:17:43 +0200 |
commit | 6a40b71e364fd0ac7f68bebfdd51c80f9f66730a (patch) | |
tree | 716542159f5ac210eea22713b6e7bc816e8f1452 /lib/reltool/src/reltool_app_win.erl | |
parent | 8d74edab223477c704af62b19793f0f8282fc749 (diff) | |
download | otp-6a40b71e364fd0ac7f68bebfdd51c80f9f66730a.tar.gz otp-6a40b71e364fd0ac7f68bebfdd51c80f9f66730a.tar.bz2 otp-6a40b71e364fd0ac7f68bebfdd51c80f9f66730a.zip |
[reltool] Automatically add included applications in rel file
If a 'rel' spec in the reltool config does not contain all
applications that are listed as {applications,Applications} in a .app
file, then these applications are autmatically added when creating the
.rel file.
For 'included_applications', the behaviour was not the same. I.e. if a
'rel' spec in the reltool config did not contain all applications that
are listed as {included_applications,InclApplications} in a .app file,
then reltool would fail with reason "Undefined applications" when
creating the .rel file. This has been corrected, so both
'applications' and 'included_applications' are now automatically added
if not already in the 'rel' spec.
I.e. for an application 'z', if z.app contains
{applications,[stdlib,kernel,x]}
{included_applications,[y]}
then reltool configuration
{rel, "myrel", "1.0", [z]}
will cause the same .rel file as
{rel, "myrel", "1.0", [stdlib,kernel,x,y,z]}
Diffstat (limited to 'lib/reltool/src/reltool_app_win.erl')
0 files changed, 0 insertions, 0 deletions