Hi guys! Thank you very much for you VERY VALUABLE Feedback!<div><br></div><div>With your help I made it smooth and running :-)</div><div><br></div><div>So, I use sollution from Maxim Treshkin which seems to me best rebarized exmpp I saw.</div>

<div><br></div><div>Paul, your reberized exmpp did work for me because it was saying that app files were missing.</div><div><br></div><div>Thank you!</div><div><br><br><div class="gmail_quote">On Wed, Nov 2, 2011 at 12:58 PM, Maxim Treskin <span dir="ltr"><<a href="mailto:zerthurd@gmail.com">zerthurd@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><div>Hello, Max</div><div>Try my rebarized fork of exmpp: git://<a href="http://github.com/Zert/exmpp.git" target="_blank">github.com/Zert/exmpp.git</a></div>

<div>Do not use system-wide installation of exmpp, just add this deps in rebar.config.</div>
<br></div><div><div></div><div class="h5"><div class="gmail_quote">On 2 November 2011 16:55, Paul Oliver <span dir="ltr"><<a href="mailto:puzza007@gmail.com" target="_blank">puzza007@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yup.  What error were you getting?  I have the following in my rebar.config:<br>
<br>
{deps, [<br>
     {exmpp, ".*", {git,<br>
"<a href="https://puzza007@github.com/puzza007/exmpp.git" target="_blank">https://puzza007@github.com/puzza007/exmpp.git</a>", {branch, "master"}}}<br>
   ]}.<br>
<div><div><br>
On Wed, Nov 2, 2011 at 9:07 AM, Max Bourinov <<a href="mailto:bourinov@gmail.com" target="_blank">bourinov@gmail.com</a>> wrote:<br>
> Already tried yours :-) Doesn't work somehow...<br>
> Did you manage to make it running as a part of bigger rebar-ized app?<br>
><br>
><br>
> On Wed, Nov 2, 2011 at 12:03 PM, Paul Oliver <<a href="mailto:puzza007@gmail.com" target="_blank">puzza007@gmail.com</a>> wrote:<br>
>><br>
>> Hi Max,<br>
>> I have a quick and dirty rebarised version of exmpp here<br>
>> <a href="https://github.com/puzza007/exmpp" target="_blank">https://github.com/puzza007/exmpp</a>.<br>
>> Cheers,Paul.<br>
>> On Wed, Nov 2, 2011 at 8:10 AM, CGS <<a href="mailto:cgsmcmlxxv@gmail.com" target="_blank">cgsmcmlxxv@gmail.com</a>> wrote:<br>
>> > You need to include the path toward you exmpp or put exmpp into the<br>
>> > Erlang<br>
>> > lib standard path. It looks like your application doesn't know from<br>
>> > where to<br>
>> > take exmpp.<br>
>> ><br>
>> > Cheers,<br>
>> > CGS<br>
>> ><br>
>> ><br>
>> ><br>
>> > On 11/02/2011 08:54 AM, Max Bourinov wrote:<br>
>> ><br>
>> > Hi guys,<br>
>> > I have rebar-ized project that uses exmpp library. exmpp library<br>
>> > installed<br>
>> > in my system (sudo make install).<br>
>> > Since there is no properly rebar-ized exmpp I try to run in in my<br>
>> > application code manually instead of starting it in processor.app:<br>
>> > start(_StartType, _StartArgs) -><br>
>> > ok = application:start(exmpp),<br>
>> > processor_sup:start_link().<br>
>> > When I test my application (not release) everything work like a charm.<br>
>> > But when I do:<br>
>> > ./rebar compile<br>
>> > ./rebar generate<br>
>> > and then run released node I have the following exception:<br>
>> > Erlang R14B04 (erts-5.8.5) [source] [smp:2:2] [rq:2] [async-threads:5]<br>
>> > [hipe] [kernel-poll:true]<br>
>> ><br>
>> > =INFO REPORT==== 2-Nov-2011::10:38:08 ===<br>
>> >     application: processor<br>
>> >     exited: {bad_return,<br>
>> >                 {{processor_app,start,[normal,[]]},<br>
>> >                  {'EXIT',<br>
>> >                      {{badmatch,<br>
>> >                           {error,{"no such file or<br>
>> > directory","exmpp.app"}}},<br>
>> >                       [{processor_app,start,2},<br>
>> >                        {application_master,start_it_old,4}]}}}}<br>
>> >     type: permanent<br>
>> > {"Kernel pid<br>
>> ><br>
>> > terminated",application_controller,"{application_start_failure,processor,{bad_return,{{processor_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{[110,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121],[101,120,109,112,112,46,97,112,112]}}},[{processor_app,start,2},{application_master,start_it_old,4}]}}}}}"}<br>



>> > Crash dump was written to: erl_crash.dump<br>
>> > Kernel pid terminated (application_controller)<br>
>> ><br>
>> > ({application_start_failure,processor,{bad_return,{{processor_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{[110,111,32,115,117,99,104,32,102,105,1<br>
>> > As I already said this approach doesn't work. Do you have any ideas how<br>
>> > to<br>
>> > properly configure my app to use exmpp?<br>
>> > Best regards,<br>
>> > Max<br>
>> ><br>
>> > _______________________________________________<br>
>> > erlang-questions mailing list<br>
>> > <a href="mailto:erlang-questions@erlang.org" target="_blank">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>
>> ><br>
>> > _______________________________________________<br>
>> > erlang-questions mailing list<br>
>> > <a href="mailto:erlang-questions@erlang.org" target="_blank">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>
>> ><br>
>> _______________________________________________<br>
>> erlang-questions mailing list<br>
>> <a href="mailto:erlang-questions@erlang.org" target="_blank">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>
><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">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>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><font color="#888888">-- <br>Maxim Treskin<br>
</font><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>