how to include OTP defiened applications in resourse file

Ulf Wiger <>
Tue Dec 31 20:15:49 CET 2002


On Tue, 31 Dec 2002, Vance Shipley wrote:

>Thinking about this I wonder why we put stdlib in the
>applications key (of the application resource file) instead
>of the included_applications key.  Since stdlib is a code
>library, and doesn't include a mod key in it's application
>resource file, it would seem that it belongs in the
>included_applications key.
>
>I assume it's for historical reasons.

One would not include a certain application in more than one
other application, and there`s no real benefit to including
it in the first place.

On the other hand, if there is a dependency towards another
application, it makes sense to keep it in the `applications`
list, whether or not that application is in fact started.
This is essentially up to the designer of stdlib, and if
stdlib is changed in the future from being a "library"
application into a runnable application, your code won`t
break if stdlib is already in the `applications` list.

/Uffe

-- 
Ulf Wiger, Senior Specialist,
   / / /   Architecture & Design of Carrier-Class Software
  / / /    Strategic Product & System Management
 / / /     Ericsson Telecom AB, ATM Multiservice Networks




More information about the erlang-questions mailing list