应用程序asn1用于发布应用程序版本名称,不能排除

时间:2013-11-30 16:46:54

标签: erlang rebar

发生此错误然后我尝试生成版本:

ERROR: generate failed while processing rel: {'EXIT',{{badmatch,{error,"Application asn1 is used in release \"app-release\" and cannot be excluded"}}

我的retool.config

中有以下代码
{lib_dirs, ["../../", "../deps"]}
{app, asn1, [{incl_cond, exclude}]}

但是这个错误仍然存​​在。

P.S。我只是尝试使用外部依赖项(例如mochiweb和sqlite)生成发布。

1 个答案:

答案 0 :(得分:2)

您正在排除reltool配置中的asn1应用程序,但正如您的错误消息所示,它存在依赖关系。将其更改为:

{app, asn1, [{incl_cond, include}]}

或者你可能会完全删除这条线。

我知道reltool文档很乏味但值得read

相关问题