[erlang-questions] OTP R16B01 has been released

Geoff Cant nem@REDACTED
Thu Jun 20 02:48:09 CEST 2013


With each new release that this happens, I remember that I have not yet submitted a patch to the application module to include the lines I put in all my apps:

https://github.com/archaelus/erlang-factory-2012-example/blob/master/src/ef_app.erl#L25 and https://github.com/archaelus/erlang-factory-2012-example/blob/master/src/ef_app.erl#L70-L79

These lines together allow you to specify your direct dependencies in your .app file, and use 'AppMod:start().' or 'erl -s AppMod' to do a recursive start of your app and all its transitive dependencies.


Interestingly, with correct OTP .app files, 'application' has enough information to start my app and all its dependencies. Currently 'application' is a bit of a jerk - it tells me the exact app that it could have started for me, that is a missing start dependency for the app I am trying to start.

These lines may make development a little easier for you right now, and either I, or someone soon to be on my famed Holiday Card List, will hopefully fix this wart before R16B02.


Anyone have suggestions for a function name for this feature? application:recursive_start/2? application:start_recursively/2? application:run/2?

Cheers,
-Geoff (an OTP app developer with sub-optimal laziness)

On 2013-06-19, at 17:37 , Tom Burdick <thomas.burdick@REDACTED> wrote:

> I noticed today after updating that public_key now requires asn1, what
> gives?
> 
> Eshell V5.10.2  (abort with ^G)
> 1> application:start(public_key).
> {error,{not_started,asn1}}
> 
> Tom
> 
> 
> On Wed, Jun 19, 2013 at 8:26 AM, Kenneth Lundin <kenneth.lundin@REDACTED>wrote:
> 
>> Erlang/OTP R16B01 has been released.
>> 
>> OTP R16B01 is a service release with mostly a number of small corrections
>> and user contributions. But there are some new functions worth mentioning
>> as well, here are some of them:
>> 
>> 
>>   - Migration of memory carriers between allocator instances, when
>>   enabled it will result in reduced memory footprint when the memory load is
>>   unevenly distributed between scheduler specific allocator instances.
>>   - Interruptible term_to_binary, (thanks to Erik Stenman)
>>   - Added the +sfwi <interval> Scheduler Forced Wakeup Interval
>>   - All crypto functions except the block chipers will now chunk large
>>   input into several calls to avoid blocking the scheduler for too long.
>>   - Elliptic curve support in crypto, ssl and ssh(thanks to Andreas
>>   Schultz)
>>   - Lift static limitation (FD_SETSIZE) for file descriptors on Mac OS
>>   X. (thanks to Anthony Ramine)
>>   - Removed a lock around GC statistics counter
>>   - Many small improvements and in Diameter
>>   - 60 user contributions
>> 
>>    You can find the README file with more detailed info at
>> http://www.erlang.org/download/otp_src_R16B01.readme
>> 
>> You can download the full source distribution from
>> http://www.erlang.org/download/otp_src_R16B01.tar.gz
>> http://www.erlang.org/download/otp_src_R16B01.readme (this file)
>> 
>> Note: To unpack the TAR archive you need a GNU TAR compatible program.
>> 
>> For installation instructions please read the README that is part of
>> the distribution.
>> 
>> You can also find this release at the official Erlang/OTP Git-repository
>> at Github here:
>> https://github.com/erlang/otp tagged *OTP_R16B01*
>> 
>> The Windows binary distribution can be downloaded from
>> 
>> http://www.erlang.org/download/otp_win32_R16B01.exe
>> http://www.erlang.org/download/otp_win64_R16B01.exe
>> 
>> 
>> On-line documentation can be found at http://www.erlang.org/doc/.
>> You can also download the complete HTML documentation or the Unix manual
>> files
>> 
>> http://www.erlang.org/download/otp_doc_html_R16B01.tar.gz
>> http://www.erlang.org/download/otp_doc_man_R16B01.tar.gz
>> 
>> We also want to thank those that sent us patches, suggestions and bug
>> reports,
>> 
>> The Erlang/OTP Team at Ericsson
>> 








More information about the erlang-questions mailing list