[erlang-questions] application:load(App, modules)

Fisher <>
Fri Apr 10 05:56:13 CEST 2015


Hi, all !


Here is my app file
{application, test, [
    {description, "an test."},
    {vsn, "0.1.0"},
    {modules, []},
    {registered, []},
    {applications, [kerne, stdlib]}
]}


note that: {modules, []}




i compile it use two different ways, and the result(application:get_key/2) comes:
-------------------------------------------------------------------------------------------
compile method                             application:get_key(test, modules)
-------------------------------------------------------------------------------------------
erlang:mk                                      {ok, [test01, test02, test03, ops, test01]}
-------------------------------------------------------------------------------------------
Emakefile                                      {ok, []}
-------------------------------------------------------------------------------------------


and Emakefile is like this:
{'src/*', [debug_info, {i, "src"}, {i, "include"}, {outdir, "ebin"}]}.


which command in erlang:mk makes the result different? any one can help?


_______________________________________________
erlang-questions mailing list

http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150410/3cac119b/attachment.html>


More information about the erlang-questions mailing list