Hi Emile,<div><br></div><div>I know you can do that. What I want to do is to distribute the Erlang VM, as mentioned in my first email when I said: "<span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">What I want to achieve is to be able to generate a tar file with Erlang's erts and other dependencies as explained here </span><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><a href="http://www.erlang.org/doc/design_principles/release_structure.html#id75658" target="_blank" style="color:rgb(17,85,204)">http://www.erlang.org/doc/design_principles/release_structure.html#id75658</a></span><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">".</span></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse">What I'm thinking here is about usability. Some weeks ago I taught RabbitMQ at an University and many students were complaining about the long compiling times Erlang has. Also "what's the right Erlang distro for Rabbit". Or "the Erlang distro for my ubuntu is too old". And so on. </span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse">Also if you monitor the #rabbitmq hashtag on twitter from time to time you may find users complaining about "rabbitmq is hard to install" when the actual problem is that they can't get Erlang running in the first place.</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse">So I think producing a self container tar ball could be very helpful. As RabbitMQ you can even choose against which Erlang version you want to compile your code, which I think is another advantage.</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse">Do you see where I want to go with this approach?</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse">Regards,</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse">Alvaro</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font><br><div class="gmail_quote">On Fri, Apr 13, 2012 at 12:40 PM, Emile Joubert <span dir="ltr"><<a href="mailto:emile@rabbitmq.com">emile@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Alvaro,<br>
<div class="im"><br>
On 13/04/12 09:50, Alvaro Videla wrote:<br>
> Is there a way to generate a RabbitMQ release by using the make files<br>
> form the umbrella?<br>
<br>
</div>You will find the release files (.boot, .script and .rel) in<br>
${RABBITMQ_MNESIA_BASE}/${RABBITMQ_NODENAME}-plugins-expand<br>
after starting the broker.<br>
<br>
What the RabbitMQ Makefiles do produce is an Erlang application, with a<br>
rabbit.app file. You can start, stop and manage the rabbitmq application<br>
in the same way as any other Erlang application.<br>
<div class="im"><br>
> In that way we could distribute RabbitMQ without the need to install<br>
> Erlang, which I think will ease adoption a lot.<br>
<br>
</div>The approach that ejabberd takes is to install a minimal version of<br>
Erlang together with their binaries. That is similar to Java<br>
applications that bundle and install a dedicated JVM. There are<br>
advantages and drawbacks to this approach. In either case you still need<br>
an Erlang VM, whether it is distributed with the service (like ejabberd)<br>
or installed independently (like RabbitMQ requires).<br>
<span class="HOEnZb"><font color="#888888"><br>
-Emile<br>
<br>
<br>
</font></span></blockquote></div><br></div>