[erlang-questions] .app(.src) and .appup(.src) files

Ivan Uemlianin ivan@REDACTED
Fri Feb 7 21:25:26 CET 2014


Dear All

Looking around at how erlang applications are laid out, especially the
.app and .appup files.  Some people have them in myapp/ebin/.  Some
people keep .src versions in myapp/src/ and copy them over to ebin when
building the app.  Some people are half-and-half.  Tools make
assumptions accordingly.

I can see arguments on either side:  keeping .src versions in src/ saves
you putting ebin/ under version control;  keeping the files in ebin/
simplifies the build process.  Well, ok, I can see one argument on
either side.

Might the files ever be altered when they're moved from src/ to ebin/,
or are they always just copied verbatim?

I don't want to start an argument, I'd just like to make an informed
choice.

With thanks and best wishes

Ivan



More information about the erlang-questions mailing list