[erlang-questions] mysterious reltool exception

Nikola Skoric nskoric@REDACTED
Thu Nov 17 10:57:23 CET 2011

So, this is my erlang app: https://github.com/egon-sim/egon_server
I've been successfully creating releases on WinXP using this rel file:
Now I'd like to create a linux release, and maintaining two .rel files
is tiresome, so I decided to migrate to reltool which is, I hear,
easier to maintain. I'm using this tutorial:

So, this is what I do:
nick@REDACTED:~/code/egon_server/releases$ erl
Erlang R13B03 (erts-5.7.4) [source] [smp:4:4] [rq:4] [async-threads:0]
[hipe] [kernel-poll:false]

Eshell V5.7.4  (abort with ^G)
1> {ok, Conf} = file:consult("egon_server.0.1.config").
2> {ok, Spec} = reltool:get_target_spec(Conf).
** exception exit: {badmatch,false}
     in function  reltool_target:app_to_rel/2
     in call from reltool_target:'-gen_rel/2-lc$^0/1-0-'/2
     in call from reltool_target:'-gen_rel/2-lc$^0/1-0-'/2
     in call from reltool_target:gen_rel/2
     in call from reltool_target:do_spec_rel_files/2
     in call from reltool_target:'-spec_rel_files/1-lc$^0/1-0-'/2
     in call from reltool_target:spec_rel_files/1
     in call from reltool_target:do_gen_spec/1

Google doesn't know anything about reltool_target. Do you? :-)

"Strange women lying in ponds distributing swords is no basis for a
system of government."

More information about the erlang-questions mailing list