[erlang-questions] overriding code in another application
Sat Feb 13 14:31:31 CET 2016
How about compiling code by different compiler versions and putting the
produced beams into version-specific directories. Then at run time either
add the proper versioned directory's path into ERL_LIBS, provide it
explicitely via "-pa", or add it dynamically at run-time via the
On Fri, Feb 12, 2016 at 9:19 AM, Vlad Dumitrescu <vladdu55@REDACTED> wrote:
> I need to be able to distribute a version of the debugger in a way that
> works with R15+, and this is how I made it work: have a general my_debugger
> application that contains common code and dummy modules that are
> implemented in separate applications (my_debugger_15 to my_debugger_18),
> each compiled with the respective compiler.
> My idea is that I start 'my_debugger' and dynamically the right
> 'my_debugger_X' and the dummy modules will get reloaded from the _X
> So far it seems to work, but I wonder if there may be some details that I
> don't see and that would make this a no-go. I won't use releases, but the
> applications might get stopped. Has anyone ever tried or thought about this?
> best regards,
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions