Reputation: 376
Currently I am able to use yaws
in embedded mode by either:
{yaws, load}
in the relx section of rebar.config.yaws
to included_applications
section in *.app.src
.Method #1 was the suggested way in YAWS Embedded as dependence in rebar3 issue. Method #2 is not recommended by: https://learnyousomeerlang.com/the-count-of-applications#included-applications
I want to be able to start yaws
in embedded mode while putting it in applications
section in *.app.src
.
The reason for this question is that I have an application which would have multiple such yaws applications in the applications
section in *.app.src
. To clarify, I have main_app
which would have something like: {applications, [..., YawsEmbeddedApp1, YawsEmbeddedApp2, ...]}
in main_app.app.src
. There is also a chance that this isn't possible: from http://erlang.org/pipermail/erlang-questions/2012-May/066669.html, it appears that it wasn't possible in 2012. But I think that shouldn't be the case if I can start embedded yaws by
using *.app.src
>applications
.
Upvotes: 1
Views: 52