Search Path

Mikael Karlsson <>
Thu Oct 31 08:47:24 CET 2002


onsdag 30 oktober 2002 17:41 skrev DANIESC SCHUTTE:
.
.
> How do I setup the search path for my applications, to find it if the
> application is in a directory other than lib.  (For now - without the boot
> script). ?

You can add code like:
code:add_path("/home/mikael/local/src/erlang/lib/xserl/ebin").
code:add_path("/home/mikael/local/src/erlang/lib/erlbook/ebin").

in your $HOME/.erlang file or in your application. There are several
add_path variants in the "code" module you can use.
/Mikael





More information about the erlang-questions mailing list