I just uploaded a new alpha that fixes this problem. Get it here from
the download site -> http://erlware.github.com/sinan/

On Mon, Oct 17, 2011 at 8:00 PM, Eric Merritt <[email protected]> wrote:
> The problem here is mostly due to piss-poor error messages. I recently
> made a change such that sinan no longer includes the "include"
> directories of everything in the include path. Unless its in the src
> directory of the thing you are building you have to use -include_lib.
>
> -include("maru_model.hrl").
> -include("jsonerl.hrl").
>
> you need
>
> -include_lib("maru_model/include/maru_model.hrl").
> -include_lib("maru_model/include/jsonerl.hrl").
>
> There is one other code bug involved here that I have to fix is well.
> Thats a slightly bigger fix but I should be able to get it out
> tomorrow afternoon (I am getting beat right now).
>
> I know this has been a pain, but thanks a million for going through
> this. I would much rather hit this stuff in the alpha then after a
> release.
>
> On a side note, I am pretty proud that sinan was able to build every
> single one of the dependencies and transative dependencies (except
> those that had c_src) with no change what so ever.
>
> I will get this resolved tomorrow.
>
> On Mon, Oct 17, 2011 at 7:14 PM, Tristan Sloughter
> <[email protected]> wrote:
>> Yeah, its right here: https://github.com/claimstrade/maru
>>
>> On Mon, Oct 17, 2011 at 7:12 PM, Eric Merritt <[email protected]>
>> wrote:
>>>
>>> Is this project out in public somewhere so that I can use it to test.
>>> Sinan should be recognizing that a transform exists and doing the
>>> dependency ordering correctly. In this case its not, and thats
>>> something that should be fixed.
>>>
>>> Dont put the transform in another app. This is a bug that needs resolving.
>>>
>>> On Mon, Oct 17, 2011 at 6:51 PM, Tristan Sloughter
>>> <[email protected]> wrote:
>>> > This app built fine with old sinan.
>>> > With new sinan I just had a new problem where the order of the build for
>>> > an
>>> > application was wrong.
>>> > Essentially it tried to build the module maru_models_users before
>>> > maru_models_transform. The users module uses parse transform provided by
>>> > the
>>> > transform module. So it blew up on 'sinan build'.
>>> > Was I just getting lucky in the order it built with old sinan? Is there
>>> > a
>>> > way to specify the order? Or should I put the transform in another app
>>> > and
>>> > make it a dependency for the models app...
>>> > Tristan
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups
>>> > "erlware-dev" group.
>>> > To post to this group, send email to [email protected].
>>> > To unsubscribe from this group, send email to
>>> > [email protected].
>>> > For more options, visit this group at
>>> > http://groups.google.com/group/erlware-dev?hl=en.
>>> >
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "erlware-dev" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/erlware-dev?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "erlware-dev" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/erlware-dev?hl=en.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"erlware-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/erlware-dev?hl=en.

Reply via email to