<font face="trebuchet ms,sans-serif">Hi, I'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="'trebuchet ms', 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'm invoking my Windows erlang installation as it appears Erlang won'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="'trebuchet ms', sans-serif">When invoking escript.exe from the win command line it works, while invoking it from cygwin always gives "Failed to open file ...". It looks like escript windows version doesn't play nice with cygwin.<br>
</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">That said, if I didn'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"><<a href="mailto:simone.busoli@gmail.com">simone.busoli@gmail.com</a>></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'll just need to build the plugin itself if I don'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, "Emile Joubert" <<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>> wrote:<br type="attribution">> Hi Simone,<br>> <br>> Op 24/07/11 12:23, het Simone Busoli geskryf:<br>
>> I would like to try adding a max-hops option to the shovel addin, but I have<br>>> no past experience in erlang nor in building an addin from the sources. I<br>>> looked at the docs and I would like to know whether building on Windows is<br>
>> supported and especially if I need to build the server too, or a binary<br>>> deployment is enough to modify and test the addin.<br>> <br>> It is fairly easy to build the broker on Windows if Cygwin is installed.<br>
> You will need at least GNU Make and have the Erlang compiler and<br>> utilities in $PATH. You may want to go this route if you need to modify<br>> the broker or if you want to develop against the very latest unreleased<br>
> version of the broker.<br>> <br>> If you don't need to modify the broker then dropping your .ez file in<br>> the plugins directory of a released build will work. Creating symlinks<br>> in the plugins directory as suggested in the plugins development page<br>
> will not work on Windows.<br>> <br>> <a href="http://www.rabbitmq.com/plugin-development.html" target="_blank">http://www.rabbitmq.com/plugin-development.html</a><br>> <br>> <br>> -Emile<br></div>
</div></div></blockquote></div><br></div>