prashant-r / Scalaris

DHT Chord Transaction
Apache License 2.0
0 stars 0 forks source link

Include header files not using relative path, but Erlang's app structure #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm not sure if this will work on all Erlang OTP version < R13b03:

Instead of including header files with the relative path, Erlang's app 
structure could leverage and thereby using this instead:

--- -include("../include/scalaris.hrl").
+++ -include("scalaris.hrl").

Erlang will automatically search in the same app's include path as the 
executing app code context.
This makes it easier to recompile file on a running machine for test reasons. 
Otherwise the recompile fails with the reason of not finding the header file 
under its path. (Might be only for me).

Original issue reported on code.google.com by Uwe.Daue...@gmail.com on 12 Apr 2010 at 11:35

GoogleCodeExporter commented 8 years ago
Thanks for the reminder, wanted to do that anyway.

Original comment by schin...@gmail.com on 13 Apr 2010 at 8:26