Closed pouriya closed 7 years ago
try removing the lib_dirs
directive
I tried, but did not work.
This is the same issue as described in https://github.com/erlware/relx/issues/434 . mysql-otp has an empty applications list in its app.src file.
@Pouriya-Jahanbakhsh could you please try out #567
@lrascao worked, many thanks.
Adding apps with empty applications
in their .app.src
file is nice feature too.
closing via #567
I am using rebar3 v3.34 which it uses relx v3.22.0. I am developing an application named "ejc". My application has 2 dependencies, "mnesia", "mysql" (mysql-otp in github).
my relx config is: {relx ,[{release, {ejc, "1.0.0"}, [{mysql, load}, mnesia, ejc]} ,{dev_mode, false} ,{include_erts, true} ,{extended_start_script, true} ,{lib_dirs, ["./_build/default/lib/"]} % help for finding "mysql" ]}.
Application compiled successfully and workerd.(using "rebar3 shell") But after creating release (using "rebar3 release"), i could not find "mysql" or "mysql-*" in the "lib" directory of the release ! My application needs to start after starting "mnesia", but i just want to load "mysql", not start it.