[erlang-bugs] Cover compiling of .beam files inside .ez archives, is it possible?

Diego Llarrull <>
Thu Jul 19 16:21:53 CEST 2012


I'm very sorry, that mail was intended to erlang-questions, not 
erlang-bugs.

My apologies

El jue 19 jul 2012 10:58:12 ART, Diego Llarrull escribió:
> Good day to everyone,
>
> I'm building a riak-core based application which relies con rebar +
> gnu make to generate deployment nodes (i.e: an embedded erts plus all
> source code and dependencies). Each app is stored in an .ez file
> inside the "lib" folder. No unzipping of the files in a special
> directory occurs in runtime because the code server is able to load
> .beam files from archives (tough experimentally, as stated in
> http://www.erlang.org/doc/man/code.html).
>
> The cover server, instead, can't access such files, which makes it
> impossible to perform cover analysis in runtime (something we require
> because the modules to analyse rely on servers which are spawned on
> demand). My question would be the following:
>
> 1) Is it possible to cover compile the binaries at compile-time (i.e.,
> before generating the node releases) ?
> 2) Is there any way to access the .ez files without unzipping them, so
> as to pass a reference to that file to cover:compile_beam() ?
>
> (Note to rebar users: rebar eunit doesn't do the job for me, because
> it performs offline, static, coverage analysis).
>
> Any help would be greatly appreciated.
>
> Thanks in advance
>
> Diego Llarrull
> --
>
>
> _______________________________________________
> erlang-bugs mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-bugs



--
<http://www.tecso.coop/><http://www.tecso.coop/>

	

*Lic. Diego Miguel Llarrull*LinkedIn
<http://ar.linkedin.com/pub/diego-llarrull/24/364/200>
 <mailto:>
Tel: +54 341 527 4470 / +54 341 528 0080 / 0020
Sarmiento 784 Piso 1 - (CP 2000)
Rosario - Provincia de Santa Fe - Argentina






More information about the erlang-bugs mailing list