<font face="trebuchet ms,sans-serif">Hi, I&#39;m having some issues building the shovel addin on Windows under cygwin. I am following the instructions in the README of the addin, cloning the umbrella project and the others below it (I think the addin requires erlando as well, which is not documented).<br>

</font><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif">I can build the rabbitmq-erlang-client just fine, but erlando and server fail, which prevent me from building the shovel addin. The problem seems to be related to escript (I&#39;m invoking my Windows erlang installation as it appears Erlang won&#39;t build under cygwin), and not the one related to appending .exe when invoking it since I patched the scripts to do that already.�</font></div>

<div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif">When invoking escript.exe from the win command line it works, while invoking it from cygwin always gives &quot;Failed to open file ...&quot;. It looks like escript windows version doesn&#39;t play nice with cygwin.<br>

</font></div><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif">That said, if I didn&#39;t have to build server and erlando I may be able to build the shovel addin, but I could not figure out how to point it to my existing server binaries.</font></div>

<div><div class="gmail_quote"><br></div><div class="gmail_quote">On Sun, Jul 24, 2011 at 14:01, Simone Busoli <span dir="ltr">&lt;<a href="mailto:simone.busoli@gmail.com">simone.busoli@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p>Thanks Emile, so I&#39;ll just need to build the plugin itself if I don&#39;t need to change the server, right?<br>
And building the plugin, the shovel in this case, does have any specific requirements?</p><div><div></div><div class="h5">
<div class="gmail_quote">On Jul 24, 2011 1:48 PM, &quot;Emile Joubert&quot; &lt;<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>&gt; wrote:<br type="attribution">&gt; Hi Simone,<br>&gt; <br>&gt; Op 24/07/11 12:23, het Simone Busoli geskryf:<br>


&gt;&gt; I would like to try adding a max-hops option to the shovel addin, but I have<br>&gt;&gt; no past experience in erlang nor in building an addin from the sources. I<br>&gt;&gt; looked at the docs and I would like to know whether building on Windows is<br>


&gt;&gt; supported and especially if I need to build the server too, or a binary<br>&gt;&gt; deployment is enough to modify and test the addin.<br>&gt; <br>&gt; It is fairly easy to build the broker on Windows if Cygwin is installed.<br>


&gt; You will need at least GNU Make and have the Erlang compiler and<br>&gt; utilities in $PATH. You may want to go this route if you need to modify<br>&gt; the broker or if you want to develop against the very latest unreleased<br>


&gt; version of the broker.<br>&gt; <br>&gt; If you don&#39;t need to modify the broker then dropping your .ez file in<br>&gt; the plugins directory of a released build will work. Creating symlinks<br>&gt; in the plugins directory as suggested in the plugins development page<br>


&gt; will not work on Windows.<br>&gt; <br>&gt; <a href="http://www.rabbitmq.com/plugin-development.html" target="_blank">http://www.rabbitmq.com/plugin-development.html</a><br>&gt; <br>&gt; <br>&gt; -Emile<br></div>
</div></div></blockquote></div><br></div>