[erlang-questions] percept application packaging issue

Björn-Egil Dahlberg <>
Fri Sep 7 21:41:07 CEST 2012


Hi Stéphane,

It seems like this issue has been overlooked.

percept, and i think the  tools application, are the odd ones out in the
application sense. They are not strictly applications.
Instead they are more or less a collection of modules. percept also has a
second "application" egd in its directory.

percept.app.src is obviously missing modules in its file.

I think it should be:

    {modules, [
       egd,
       egd_font,
       egd_png,
       egd_primitives,
       egd_render,
       percept,
       percept_analyzer,
       percept_db,
       percept_graph,
       percept_html,
       percept_image
    ]},

// Björn-Egil


2012/9/7 Stephane Pamelard <>

> Hi,
>
> I'm trying to package percept application in my own product RPM.
> I added percept application reference in the rel.src and built boot file
> and the release package by using systools:make_script/1 and
> systools:make_tar/1
>
> The problem is that egd module is not part of this release package. I
> checked percept.app and I did not find it in percept module list. (only
> [percept,percept_db,percept_**html,percept_graph,percept_**analyzer]).
>
> I understood from the doc that the modules to be packaged are deduced
> from this app parameter:
> /
> The release resource file Name.rel is read to find out which
> applications are included in the release. Then the relevant application
> resource files App.app are read to find out which modules should be
> loaded and if and how the application should be started. (Keys modules
> and mod, see app(4)).
> /
> Is there something I'm doing wrong?
>
> Thanks for your help
>
> OTP version: R15B1
>
> Stéphane
> *** DISCLAIMER ***
>
> This message, including attachments, is intended solely for the addressee
> indicated in this message and is strictly confidential or otherwise
> privileged. If you are not the intended recipient (or responsible for
> delivery of the message to such person) : - (1) please immediately (i)
> notify the sender by reply email and (ii) delete this message and
> attachments, - (2) any use, copy or dissemination of this transmission is
> strictly prohibited. If you or your employer does not consent to Internet
> email messages of this kind, please advise Myriad Group AG by reply e-mail
> immediately. Opinions, conclusions and other information expressed in this
> message are not given or endorsed by Myriad Group AG unless otherwise
> indicated by an authorized representative independent of this message.
> ______________________________**_________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/**listinfo/erlang-questions<http://erlang.org/mailman/listinfo/erlang-questions>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120907/9f37e09a/attachment.html>


More information about the erlang-questions mailing list