[erlang-questions] Escript and multiple OTP application archives (*.ez) or handling dependencies in an escript
Mon Sep 19 17:08:56 CEST 2011
I am not expert, but a simple solution would be to create an application
which can call other applications. You can call at any time
application:start(...) inside your application.
On Mon, Sep 19, 2011 at 4:56 PM, Eric Merritt <>wrote:
> Hey guys,
> I am looking at escript and wondering how to go about distributing
> more then one OTP app in an escript. That is, a project and it's
> From the documentation and tests on my part that validate that it
> looks like escript:create can have one of an escript or a code archive
> (one and only one) as its body. From reading the docs on code archives
> an archive may contain one and only one OTP Application and be named
> for that OTP Application.
> Unless I am missing something, which could be very true, it looks like
> an escript must conform to one of the following.
> - All dependencies must be on the users box (ie part of the erlang
> - All dependencies must be copied into a single OTP Application
> I am hoping that I am wrong on this as these constraints are a problem.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions