Figuring out OTP applications is usually rather simple. They usually all share a directory structure that looks like:
搞清楚 OTP applications通常都非常简单,他们通常在同一个目录下, 目标结构如下:
doc/;
ebin/
src/
test/
LICENSE.txt
README.md
rebar.config
{application, useragent, [
{description, "Identify browsers & OSes from useragent strings"},
{vsn, "0.1.2"},
{registered, []},
{applications, [kernel, stdlib]},
{modules, [useragent]}
]}.
{application, dispcount, [
{description, "A dispatching library for resources and task "
"limiting based on shared counters"},
{applications, [kernel, stdlib]},
{registered, []},
{mod, {dispcount, []}},
{modules, [dispcount, dispcount_serv, dispcount_sup,
dispcount_supersup, dispcount_watcher, watchers_sup]}
]}.
[2] A build system generates the final file that goes in ebin. Note that in these cases, many
src/