<div dir="ltr"><div style>Forgot to CC list:</div><div><br></div><div>---</div><div>Your release name is an empty string in your reltool.config</div><div><br></div><div>{rel, "", "1",[myapp,kernel,stdlib,sasl ]},</div>
<div><br></div><div>Try something like</div><div><br></div><div>{rel, "myapp", "1",[myapp,kernel,stdlib,sasl ]},</div><div><br></div><div>and see if that helps.</div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Sun, Jan 6, 2013 at 9:38 AM, Rustom Mody <span dir="ltr"><<a href="mailto:rustompmody@gmail.com" target="_blank">rustompmody@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
One of my colleagues whom I introduced rebar to asked me this.<br>Since I am out of depth in erlang matters rather quickly, hoping someone here can help<br><div class="gmail_quote"><br>------------------<br><div>The difficulty is with using Rebar with Erlang. I am using the following versions:</div>

<div>Erlang-(R15B01)</div><div>rebar 2.1.0-pre R15B01 </div><div><br></div><div>Q 1> Is this an incompatible combination?</div>
<div><br></div><div>I am having difficulties with './rebar -v generate'. I tried varied fudges with</div><div>the reltool.config, but am unable to build an embedded node with my app.</div><div><br></div>
<div><br></div><div>My dir tree:</div><div>myproj/apps/myapp</div><div>myproj/rel</div><div>myproj/rel/reltool.config</div><div>myproj/rebar.config</div><div>myproj/rebar</div><div><br></div><div>myproj/rel directory tree generated with:</div>


<div>./rebar create-node nodeid=myapp</div><div><br></div><div>rebar.config has a single line:</div><div>        {sub_dirs, ["apps/myapp", "rel"]}.</div><div><br>reltool.config is:</div><div>        {sys, [  {lib_dirs , ["../apps"]},</div>


<div>       {erts, [{mod_cond, derived}, {app_file, strip}]},</div><div>       {rel, "", "1",[myapp,kernel,stdlib,sasl ]},</div><div>       {rel, "start_clean", "",[kernel,stdlib ]},</div>


<div>       {boot_rel, "myapp"},</div><div>       {relocatable, true},</div><div>       {profile, embedded},</div><div>       {incl_cond, exclude},</div><div>       {app, sasl, [{incl_cond, include}]},</div><div>


       {app, stdlib, [{incl_cond, include}]},</div><div>       {app, kernel, [{incl_cond, include}]},</div><div>       {app, hipe, [{incl_cond, exclude}]},</div><div>       {app, myapp, [{mod_cond, app}, {incl_cond, include}]}</div>


<div>      ]}.</div><div><br></div><div>Q2> I find that the embedded node is not being generated.</div><div>    Can someone guide me to a solution (or the right forum) to raise this question</div><div>    for a newbie?</div>

<br>
</div><br>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>