<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 5 Apr 2011, at 16:52, Håkan Mattsson wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>> Eshell V5.8.4 (abort with ^G)<br>> 1> application:load(proper).<br>> ok<br>> 2> code:lib_dir(proper,include).<br>> "./run_proper/include"<br>> 3> code:where_is_file("proper.app").<br>> "run_proper.ez/proper/ebin/proper.app"<br><br>code:lib_dir(proper,include) should handle this. It will return<br>"run_proper.ez/proper/include" if the setup is correct. But it<br>requires that there is no "run_proper/include" directory AND<br>that the directory "run_proper.ez/proper/include" really exists.<br></div></blockquote><div><br></div>I'm happy to hear that it should, however...<br><br></div><div><div>$ ls</div><div>run_proper.ez</div></div><div><div>$ erl -pa ./run_proper.ez/proper/ebin</div><div>Erlang R14B03 (erts-5.8.4) [source] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false]</div><div><br></div><div>Eshell V5.8.4 (abort with ^G)</div><div>1> code:lib_dir(proper,include).</div><div>"./run_proper/include"</div><div>2> erl_prim_loader:get_file("run_proper.ez/proper/include/proper.hrl").</div><div>{ok,<<"%%% Copyright 2010 Manolis Papadakis (<a href="mailto:manopapad@gmail.com">manopapad@gmail.com</a>)\n%%% and Kostis Sagonas (<a href="mailto:kostis@cs.ntua">kostis@cs.ntua</a>"...>>,</div><div> "run_proper.ez/proper/include/proper.hrl"}</div><div><div>3> </div><div>BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded</div><div> (v)ersion (k)ill (D)b-tables (d)istribution</div><div>a</div><div>$ ls</div><div>run_proper.ez</div></div><div><br></div><div>At the very least, I am convinced that "./run_proper/include" does *not* exist in this case.</div><div><br></div><div>BR,</div><div>Ulf W</div></div><br><div>
<div>Ulf Wiger, CTO, Erlang Solutions, Ltd.</div><div><a href="http://erlang-solutions.com">http://erlang-solutions.com</a></div><div><br></div><br class="Apple-interchange-newline">
</div>
<br></body></html>