<div dir="ltr">Use the riak way of doing things. That way rebar and node_package will work well when creating a release. Diverge too far from that and you're likely to run into issues later on.<br><br><br>Sergej<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 6, 2014 at 2:30 PM, Fred Hebert <span dir="ltr"><<a href="mailto:mononcqc@ferd.ca" target="_blank">mononcqc@ferd.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I personally tend to follow the Riak structure and recommend it around<br>
for releases instead of having one top-level app and then the rest below<br>
it. I'd be open to using lib/ instead of /apps, but feel like deps/ is<br>
the best name for dependencies of the project (which aren't always about<br>
other vendors or even third party libraries -- just stuff generic enough<br>
to not be in the core project).<br>
<br>
<br>
Regards,<br>
Fred.<br>
<div><div class="h5"><br>
On 01/06, Benoit Chesneau wrote:<br>
> Hi all,<br>
><br>
> I am wondering what would be the best layout to handle multiple<br>
> applications in the same repository and their dependencies? I am using<br>
> rebar to handle the build of the apps and the C code they are using.<br>
><br>
><br>
> When I see around I can see the following layouts:<br>
><br>
> riak is using<br>
><br>
> - apps/app1<br>
> ...<br>
> apps/appN for apps<br>
><br>
> - deps/ for the defaults<br>
><br>
><br>
> cloudi :<br>
><br>
> - src/lib/app1<br>
> ...<br>
> src/lib/appN for cloudi apps<br>
><br>
> - src/external/... for deps included<br>
><br>
> Erlang<br>
><br>
> - lib/app1...appN for apps<br>
><br>
><br>
> I am myself thinking to use<br>
><br>
> - lib/app1....appN for apps<br>
> - vendor/.... for deps<br>
><br>
> maybe under an src/ folder.<br>
><br>
><br>
> But I am curious of what others do. Any feedback is welcome :)<br>
><br>
> - benoit<br>
<br>
</div></div>> _______________________________________________<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>
_______________________________________________<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>
</blockquote></div><br></div>