yaws 可以在嵌入式模式下使用,而不是将其放入 relx 或包含的应用程序中吗?

问题描述

目前我可以通过以下任一方式在嵌入模式下使用 yaws

  1. 在 rebar.config 的 relx 部分添加 {yaws,load}
  2. yaws 添加到 included_applications 中的 *.app.src 部分。

方法#1 是YAWS Embedded as dependence in rebar3 issue 中建议的方法。不推荐方法#2:https://learnyousomeerlang.com/the-count-of-applications#included-applications

我希望能够在嵌入模式下启动 yaws,同时将它放在 applications*.app.src 部分。

这个问题的原因是我有一个应用程序,它在 applications*.app.src 部分中有多个这样的 yaws 应用程序。澄清一下,我有 main_app,它的内容类似于:{applications,[...,YawsEmbeddedApp1,YawsEmbeddedApp2,...]} 中的 main_app.app.src。这也有可能是不可能的:从 http://erlang.org/pipermail/erlang-questions/2012-May/066669.html 开始,似乎在 2012 年不可能。但我认为如果我可以通过 使用 *.app.src>applications

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...