"Registering" an application
Lennart Öhman
lennart.ohman@REDACTED
Fri Aug 2 11:19:59 CEST 2002
Without consulting the manual, I believe so.
/Lennart
Björn Bylander wrote:
>
> Lennart Öhman wrote:
> >
> >
> > Yes, you must compile your source code. And as Per Bergqvist mentions there are
> > more sofisticated ways to work when developing larger systems. But to just try
> > it
> > out, start a shell, use the shell command cwd/1 to "go" to your source
> > directory.
> > Use the c/1 shell command to compile each file. You can also use make:all/0 but
> > be aware of that this will not load modules (can easily fool you when editing,
> > compiling, trying and then editing, compiling, trying again).
> > Either move the .beam files to the ebin directory, but why not move the .app
> > file
> > "here" instead and do code:add_path/1 to the src directory instead. Or you can
> > simply
> > "remain" in the src directory since "." is included in the code-path.
> >
> Regarding make:all() not loading modules... wouldn't make:all([load])
> solve that problem?
>
> /Björn
-------------------------------------------------------------
Lennart Ohman phone : +46-8-587 623 27
Sjoland & Thyselius Telecom AB cellular: +46-70-552 6735
Sehlstedtsgatan 6 fax : +46-8-667 8230
SE-115 28 STOCKHOLM, SWEDEN email : lennart.ohman@REDACTED
More information about the erlang-questions
mailing list