On 10/09/06, <b class="gmail_sendername">Olivier Sambourg</b> <<a href="mailto:olivier.sambourg@gmail.com">olivier.sambourg@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><div>If we take a look at various OTP applications, the common directory structure seems to be :<br><br>application/<br>|-> src/ (source files, flat)<br>|-> include/ (include files...)
<br>|-> doc/ (documentation)<br>|-> ebin/ (beam files)<br> <br>I don't know wheter to keep this structure intact (just adding a pom.xml file in the base directory, and directories for test files and website generation), or to have a more "mavenish" setup, such as :
</div></div></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div>application/<br>|-> pom.xml (maven project descriptor)
<br>|-> src/<br> |-> main/<br> |-> erlang/ (erlang source files)<br> |-> c/ (C code for ports, etc.)<br> |-> include/<br> |-> test/
<br> |-> erlang/ (erlang test files)<br> |-> c/ (C test files)<br> |-> site/<br> |-> site.xml (maven site descriptor)<br> |-> etc.<br>|-> target/<br> |-> ebin/<br> |-> test-ebin/<br>
<br>This last structure ***could*** be useful in a multi-language project, and has various other advantages from a maven point of view. And of course the application can be deployed using the standard OTP structure.<br>Bottom line : I don't know what to choose :)
</div></div></div></blockquote><div><br>I don't know anything about Maven, but maybe you can use the OTP structure for your system installation and the "mavenish" structure for your code repository?<br> <br>cheers
<br>Chandru<br><br></div></div><br>