[erlang-questions] create release add libraries

Loïc Hoguin <>
Sat Nov 16 20:58:26 CET 2013


On 11/16/2013 08:17 PM, Wes James wrote:
> I am moving an app to use relx to create it in to a release.  I have the
> erlang app mostly working except for secure websockets is not working
> right so I'm trying to add wx and debugger libs (are those the right
> ones) so I can run:
>
> make
> ./_rel/bin/app console
>
> then in the erlang console do:
>
> im().
> ii(websocket_handler).
> iaa([init]).
>
> but this doesn't work since wx and debugger libs are not in _rel/lib
>
> Where do I add these to the release compilation?

In relx.config:

{release, {your_release_name, "1"}, [your_app_name, debugger, observer]}.

-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu



More information about the erlang-questions mailing list