[erlang-questions] Using systools:make_script() raises "*WARNING* inets: Source code not found"

Abdul Fattah Mahran abdoo.mahran@REDACTED
Wed Dec 8 07:34:13 CET 2010


Hello, Ricardo
Do not worry about this warning, inets applications will be included in the
release.

Thanks,
Abdul-Fattah

On Tue, Dec 7, 2010 at 1:51 PM, Ricardo Catalinas Jiménez <
jimenezrick@REDACTED> wrote:

> Hi,
>
> With R14B release when I run from my app project directory:
>
> systools:make_script("myapp-rel", [local, {path, ["ebin"]}, {outdir,
> "ebin"}])
>
> Given that my app depends on `inets', creating the script raises the next
> warnings:
>
> *WARNING* inets: Source code not found: inets.erl
> *WARNING* inets: Source code not found: inets_sup.erl
> *WARNING* inets: Source code not found: inets_app.erl
> ...
> ... Missing all sources from `inets'
> ...
>
> It seems that the `src' directory of `inets' is populated with several
> subdirectories where the actual code is located:
>
> $ERL_ROOT/lib/inets-5.5/src/
>                           |ftp/
>                           |http_client/
>                           |http_lib/
>                           |http_server/
>                           |inets_app/
>                           \tftp/
>
> Using `strace' under Linux shows that `make_script()' is not able to
> look into that subdirectories.
>
>
> Is there any sane way to make able `make_script()' to find the sources?
>
>
> By the way, the option `no_module_tests' suppress the warning by
> disabling that check:
>
> systools:make_script("myapp-rel", [local, {path, ["ebin"]}, {outdir,
> "ebin"}], no_module_tests)
>
>
> Thanks in advance.
> --
> Ricardo
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>


-- 
Thanks
Best Regards,

Abd El-Fattah Mahran
Software Developer
Customer Adaptation Center, RMEA
Ericsson Egypt Ltd,


More information about the erlang-questions mailing list