[erlang-questions] support for .ez archives
Tue Mar 6 13:02:52 CET 2012
2012/3/6 Håkan Mattsson <hm@REDACTED>
> On Mon, Mar 5, 2012 at 23:54, Tim Watson <watson.timothy@REDACTED> wrote:
>> Hello list,
>> I have a few questions about support for .ez archives, and one or two
>> suggestions as well.
>> - is a timeline for fully supporting them?
>> - does the -include_lib(...) directive now work (in R15) when the headers
>> are in an archive?
> Björn, is there a timeline?
There is no timeline and it is even questionable if it should ever work.
What is the argument
for having the include files inside the archive?
Include files are for off-line use during the build process.
The ebin directory is for runtime use and the contents could be inside an
The privdir is also for runtime use but must be possible to open from the
OS and is therefore not suitable to have inside the archive.
/Kenneth Erlang/OTP, Ericsson
>> - does code:lib_dir/2 work properly with archives?
>> As a suggestion: I've noticed that the way most people build an escript
>> binary is to glue everything together into a zip file with the appropriate
>> header content and I wonder whether having 'executable (.ez) archives'
>> would be a better approach? Perhaps this works today and I haven't figured
>> it out? What are peoples thoughts about this?
> The current trick with the shebang header works on many platforms.
> It would however be nice with executable archives (without any
> shebang), but these solutions tend to be more platform specific
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions