[erlang-questions] typical project structures / sanity check

Woody Peterson woody.peterson@REDACTED
Sat Dec 11 00:56:37 CET 2010


Forwarding to the list due to PM'ing (last one)

On Dec 10, 2010, at 3:33 PM, Heinz N. Gies wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Dec 10, 2010, at 22:34 , Woody Peterson wrote:
>
>>
>> On Dec 10, 2010, at 12:38 PM, Heinz N. Gies wrote:
>>
>>> having the standard data structure causes trouble with reltool not  
>>> finding your application
>>
>> I guess this is turning into a feature request :) Would it make  
>> sense for reltool to be able to find your application without  
>> following a strict directory naming convention? Perhaps an  
>> {app_dirs, [{myproject, "../"}]} option or the like? Seems like a  
>> lot of people start off trying to use reltool from within the OTP  
>> structure.
>
> I personally would love to see that you can just give the app dir as  
> you show above instead of the parent of the app dir. Then again I  
> think this whole thing has to do with looking for apps that are  
> installed.
>
>> Then again, once I started thinking of things in terms of projects  
>> and apps, I realized I already have a case that could be made for  
>> wrapping my app in a project. Specifically, I've included an mnesia  
>> monitoring project as a dependency of the app I want to deploy,  
>> when really it's a dependency of the deployed production system  
>> (not the app logic itself).
> I agree the way to look at erlang systems is quite differently then  
> into others, I am still not sure if a deployment should equal a  
> application / project or might better be an entire different thing.
>>
>> If anyone argues that the current structure encourages modularity  
>> and the above 'feature request' therefore doesn't make sense, the  
>> next question is how to get the word out about how to start a  
>> deployment-capable project in erlang. A lot of people seem to  
>> expect to be able to deploy the app they just made as a target  
>> system.
> Yap again, totally agree my structure right now is horrible bad, I  
> just moved 3 subprojects/apps into a big one since I had a horrible  
> time to keep track of stuff :P
>
> Regards,
> Heinz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
>
> iEYEARECAAYFAk0CuLkACgkQHwrnTfuX/fX5MgCdFqBgPK/05ohMLxTObEohxAD/
> ZnUAnjbOJ+Joz4X1g/g9/5eLonRBMeLr
> =A3aC
> -----END PGP SIGNATURE-----



More information about the erlang-questions mailing list