<div dir="ltr">Hello,<br><br>As a Erlang newbie I run into this error when using ./rebar generate<br><br>==> rel (generate)<br>ERROR: generate failed while processing /home/rik/workspaces/git/myapplication/rel: {'EXIT',{{badmatch,{error,"erlsom: Application version clash. Multiple directories contains version \"1.2.1\"."}},<br>
<br>I've included my reltool.config and my rebar.config. Any help is appreciated. <br><br>Kind regards,<br>Rik Ribbers<br> <br>-- reltool.config<br><br>{sys, [<br> {lib_dirs, [".."]},<br> {erts, [{mod_cond, derived}, {app_file, strip}]},<br>
{app_file, strip},<br> {rel, "myapplication_node", "1",<br> [<br> kernel,<br> stdlib,<br> sasl,<br> appmon,<br> asn1,<br> crypto,<br>
epgsql_pool,<br> epgsql,<br> erlsom,<br> myapplication<br> ]},<br> {boot_rel, "myapplication_node"},<br> {profile, embedded},<br> {incl_cond, exclude},<br>
{excl_archive_filters, [".*"]}, %% Do not archive built libs<br> {excl_sys_filters, ["^bin/(?!start_clean.boot)",<br> "^erts.*/bin/(dialyzer|typer)",<br>
"^erts.*/(doc|info|include|lib|man|src)"]},<br> {excl_app_filters, ["\.gitignore"]},<br> {app, hipe, [{incl_cond, exclude}]},<br> {app, kernel, [{incl_cond, include}]},<br>
{app, stdlib, [{incl_cond, include}]},<br> {app, sasl, [{incl_cond, include}]},<br> {app, appmon, [{incl_cond, include}]},<br> {app, asn1, [{incl_cond, include}]},<br> {app, crypto, [{incl_cond, include}]},<br>
{app, epgsql, [{incl_cond, include},{lib_dir,"../deps/epgsql"}]},<br> {app, epgsql_pool, [{mod_cond, app}, {incl_cond, include},{lib_dir, "../deps/epgsql_pool"}]},<br> {app, erlsom, [{incl_cond, include},{lib_dir,"../deps/erlsom"}]},<br>
{app, myapplication, [{mod_cond, app}, {incl_cond, include},{lib_dir,".."}]}<br> ]}.<br> <br> {target_dir, "myapplication_node"}.<br> <br> {overlay, [<br> {mkdir, "log/sasl"},<br>
{copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},<br> {copy, "files/nodetool", "\{\{erts_vsn\}\}/bin/nodetool"},<br> {copy, "myapplication_node/bin/start_clean.boot",<br>
"\{\{erts_vsn\}\}/bin/start_clean.boot"},<br> {copy, "files/myapplication_node", "bin/myapplication_node"},<br> {copy, "files/myapplication_node.cmd", "bin/myapplication_node.cmd"},<br>
{copy, "files/start_erl.cmd", "bin/start_erl.cmd"},<br><br>--- rebar.config<br><br>{sub_dirs,["rel"]}.<br> <br>{erl_opts, [debug_info,{i,"deps/erlsom/include"}]}.<br> <br>
{deps_dir, ["deps"]}.<br> <br>{deps, [<br> {epgsql, ".*", {git, "<a href="https://github.com/wg/epgsql.git">https://github.com/wg/epgsql.git</a>"}},<br> {epgsql_pool, ".*", {git, "<a href="https://github.com/josephwecker/epgsql_pool.git">https://github.com/josephwecker/epgsql_pool.git</a>"}},<br>
{erlsom, ".*", {git, "<a href="https://github.com/willemdj/erlsom.git">https://github.com/willemdj/erlsom.git</a>"}}<br>]}.<br><br><br></div>