我一直在嘗試使用鋼筋設置一個簡單的Erlang應用程序,但無法讓它工作。我也跟着上http://skeptomai.com/?p=56的指示信,當我跑./rebar -v generate
,我得到這個錯誤:下面https://bitbucket.org/basho/rebar/wiki/ReleaseHandling時鋼筋:「釋放mynode使用非現有的應用程序myNode」
==> Entering directory `/home/adam/erlang-test3/testing-rebar/apps/myapp'
WARN: 'generate' command does not apply to directory /home/adam/erlang-test3/testing-rebar/apps/myapp
==> Leaving directory `/home/adam/erlang-test3/testing-rebar/apps/myapp'
==> Entering directory `/home/adam/erlang-test3/testing-rebar/rel'
==> rel (generate)
{"init terminating in do_boot","Release mynode uses non existing application mynode"}
Crash dump was written to: erl_crash.dump
init terminating in do_boot (Release mynode uses non existing application mynode)
,我收到了類似的錯誤。以下http://www.metabrew.com/article/erlang-rebar-tutorial-generating-releases-upgrades時,我得到:
{"init terminating in do_boot",{undef,[{dummy_proj,start,[]},{init,start_it,1},{init,start_em,1}]}}
我怎麼螺紋鋼工作?我的二郎版本是Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [kernel-poll:false]
我有 「..」 在lib_dirs,因爲reltool.config是$ PROJ_ROOT /相對。我的應用程序位於應用程序列表中,其中包含incl_cond和include選項。 –
嘗試在你的lib_dirs中添加「../../」。 – kolchanov
它沒有幫助。 –