请教应用资源文件中 moudules参数的详细用途

0 views
Skip to first unread message

iincity

unread,
Nov 21, 2009, 4:34:11 AM11/21/09
to Erlang China
{application, ch_app,
[{description, "Channel allocator"},
{vsn, "1"},
{modules, [ch_app, ch_sup, ch3]},
{registered, [ch3]},
{applications, [kernel, stdlib, sasl]},
{mod, {ch_app,[]}}
]}.
请教一下应用资源文件中 moudules参数的详细用途。对其中列出来的模块的有哪
些要求,以及列在其中有哪些用途,为什么要列在这里?

Feng Yu

unread,
Nov 21, 2009, 11:01:25 AM11/21/09
to erlang...@googlegroups.com
这个模块主要是给打包和自动更新系统用的。

专注 高性能容错分布式服务器的研究和实现
http://blog.yufeng.info



2009/11/21 iincity <sky...@tom.com>

iincity

unread,
Nov 21, 2009, 9:29:31 PM11/21/09
to Erlang China
谢谢yufeng兄关注,能否再详细一点,我搜了很多资料都没有详细介绍这个的,就只有那么简单的几句话。
我想知道的是,如果我要写一个.app,那么我的应用中那些模块需要放在这个参数中去呢?

On Nov 22, 12:01 am, Feng Yu <mryuf...@gmail.com> wrote:
> 这个模块主要是给打包和自动更新系统用的。
>
> 专注 高性能容错分布式服务器的研究和实现http://blog.yufeng.info

Feng Yu

unread,
Nov 22, 2009, 12:15:47 AM11/22/09
to erlang...@googlegroups.com
所有要用到的模块呀 比如打包软件就是根据这个检查你是否漏了什么模块。

专注 高性能容错分布式服务器的研究和实现
http://blog.yufeng.info



2009/11/22 iincity <sky...@tom.com>

Ken Zhao

unread,
Nov 22, 2009, 12:52:19 AM11/22/09
to erlang...@googlegroups.com
我正在看 erlang programing 这本书,里面13章也许有你想要的,你可以看看


2009/11/22 iincity <sky...@tom.com>:

Reply all
Reply to author
Forward
0 new messages