[erlang-questions] reltool to include a module

stewart mackenzie <>
Thu Dec 9 15:34:59 CET 2010


Hello there,

Well I do understand that the shell can only list modules that are loaded
into the system.

I have used the *code *module and it does not load.
I have included {mod_cond,all}in my reltool.config file
I have included the module names in the app file of the pheobus dependency.
I have even included the below, but to no avail.

  {app, phoebus_algos, [{mod,phoebus_core_path_find,[]},
                             {mod,phoebus_core_shortest_path,[]}
                             ]},
I have also made sure the system is configured to be embedded in the
reltool,config file.
{profile, embedded},

Please can someone help me to get these modules loaded into the system.

The source is available easy to build and investigate and the steps are made
available.

>> > git clone git://github.com/sjmackenzie/phoebus
>> > cd phoebus
>> > make rel
>> > ./rel/phoebus/bin/phoebus console

I would love assistance - and a most gracious thank you.

Regards
Stewart

On Tue, Dec 7, 2010 at 11:28 PM, Robert Virding <
> wrote:
> Yes, the shell can only list modules which are loaded into the system.
>
> Robert
>
> ----- "Andrey Pampukha" <> wrote:
>
>> Stewart,
>>
>> All application's beamfiles are to be pre-loaded into the memory at
>> application startup, to have their names known by shell.
>> If I'm not mistaken, you can just list all modules into the 'modules'
>> section of the .app file.
>> But I'm not sure that it's enough. You also need to start the system
>> in embedded mode to autoload all listed modules.
>>
>> Andrey.
>>
>>
>> 2010/12/7, stewart <>:
>> > Hi
>> >
>> > I really need to get an erlang module available in the Erlang
>> shell.
>> >
>> > What am I doing wrong?
>> >
>> > git clone git://github.com/sjmackenzie/phoebus
>> > cd phoebus
>> > make rel
>> > ./rel/phoebus/bin/phoebus console
>> >
>> > then at the console phoebus_algos_ <TAB> (auto-complete) should
>> list
>> > all available modules.
>> >
>> > I need all the phoebus/deps/phoebus_algos/ebin/* modules.
>> >
>> > thanks so much
>> >
>> > Stewart
>> >
>> > ________________________________________________________________
>> > erlang-questions (at) erlang.org mailing list.
>> > See http://www.erlang.org/faq.html
>> > To unsubscribe; mailto:
>> >
>> >
>>
>> ________________________________________________________________
>> erlang-questions (at) erlang.org mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:
>


More information about the erlang-questions mailing list