Is this supposed to handle the only load scenario? I think that is the
semantics that included_apps is supposed to have in OTP in general.  I
don't see any reference to 'none" in your code which must be added to
the .rel file at the end of the day to make this work.

On Fri, Feb 5, 2010 at 9:05 AM, Eric Newhuis <[email protected]> wrote:
> Please see attached.  I don't know if it will compile.  I don't know how to
> actually build Sinan itself.  Here is the core change couled with a new
> tuple that has an Includes ({included_applications,[]} distinct from Deps
> ({applications,[]}).
> This might work.  Mind if I try it out somehow?  (There is a typo or two in
> the attached files, don't check them in or anything.  Maybe you could diff
> them to see my shotgun surgery.)
>
> check_project_dependencies(Prefix,
>                            ErtsVersion,
>                            [App = {_Name, _Vsn, Deps, Includes, _} |
> ProjectApps],
>                            AllProjectApps, Top, Acc) ->
>     Acc2 = resolve_project_dependencies(Prefix, ErtsVersion, Deps,
>                                         AllProjectApps,
> deep,
>                                         merge_deps(App, Acc, Acc)),
> Acc3 = case Top of
> true ->
> resolve_project_dependencies(Prefix, ErtsVersion, Includes,
> AllProjectApps,
> shallow,
> merge_deps(App, Acc2, Acc2));
> false ->
> Acc2
> end,
>
>     check_project_dependencies(Prefix,
> ErtsVersion,
> ProjectApps,
> AllProjectApps,
> false,
> Acc2);
>
>
>
>
>
>
>

-- 
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