[erlang-questions] Erlang and Maven
Vance Shipley
vances@REDACTED
Mon Sep 11 16:34:53 CEST 2006
On 10/09/06, Olivier Sambourg <olivier.sambourg@REDACTED> wrote:
>
>If we take a look at various OTP applications, the common directory
>structure seems to be :
>
>application/
>|-> src/ (source files, flat)
>|-> include/ (include files...)
>|-> doc/ (documentation)
>|-> ebin/ (beam files)
The convention in OTP when mixing languages is to have a "c_src"
directory. For example:
$ ls lib/erlang/lib/asn1-1.4.4.10
c_src ebin examples priv src
In this case there is a ddll driver and the C source is in c_src.
The library with the driver code is in:
lib/erlang/lib/asn1-1.4.4.10/priv/lib/asn1_erl_drv.so
Another example is the IC application which uses java:
$ ls lib/erlang/lib/ic-4.2.11
c_src ebin examples include java_src priv src
-Vance
More information about the erlang-questions
mailing list