[erlang-questions] Recommendations re beam files

Adhiyaman adhiyaman@REDACTED
Sat Mar 16 12:35:48 CET 2019


Hi,

     You can set the code path using code module. This tell the ERTS 
where to locate your beams in case you've moved them from the default 
lib directory.

-Adhi

On 16-03-2019 04:44 PM, Eric Pailleau wrote:
>
> Hi,
>
> Move them to a project for all common things, and add a dependancy to 
> it in all your projects.
>
> This way you can specify which version you need.
>
>
>
> Envoyé depuis mon mobile
>
>
>
> ---- Donald Steven a écrit ----
>
> To this point (I'm new at this) I've been keeping beam files for the
> modules I need in the same directory as the main module. This makes
> sense for those modules that are closely allied to the main module and
> unlikely to be used or modified for other programs. However, I have a
> core set of modules that are used by all my programs. I'd like to keep
> these together and in *one* place so that they're easier to maintain.
> Also, I don't want to have multiple copies floating around.
>
>
> How do I specify to the compiler where to find them? (I use Linux.)
>
>
> Thanks.
>
>
> Don
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
> http://erlang.org/mailman/listinfo/erlang-questions
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190316/a8b783a9/attachment.htm>


More information about the erlang-questions mailing list