Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relx does not accept {mod, []} in the config file #18

Closed
lehoff opened this issue Aug 7, 2013 · 3 comments
Closed

relx does not accept {mod, []} in the config file #18

lehoff opened this issue Aug 7, 2013 · 3 comments

Comments

@lehoff
Copy link

lehoff commented Aug 7, 2013

As I read the rel documentation one can either omit the mod key or give it as {mod, []} when there is nothing that has to be started in an application. I could be misreading it.

Currently relx only works when mod is omitted.

@tsloughter
Copy link
Member

Are you referring to mod in the .app file?

@lehoff
Copy link
Author

lehoff commented Sep 10, 2013

Yes I was, but that wasn't clear in the ticket - sorry.

See http://www.erlang.org/doc/man/app.html - the default value for mod is
[].

On 10 September 2013 05:13, Tristan Sloughter notifications@github.comwrote:

Are you referring to mod in the .app file?


Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-24130960
.

http://www.linkedin.com/in/torbenhoffmann
@lehoff

@tsloughter
Copy link
Member

It is systools that is complaining when mod is not defined, not relx. So that documentation must only be applying to application handling and not systools (like how registered is required for systools use but not otherwise)...

The output I got for an example I had replacing mod with {mod, []}:

Provider (rlx_prv_assembler) failed with: {error,
                                           {rlx_prv_assembler,
                                            {release_script_generation_error,
                                             systools_make,
                                             [{error_reading,
                                               {egit_sshd,
                                                {{missing_param,mod},

So I'm going to close this ticket.

eproxus added a commit to eproxus/hut that referenced this issue Mar 17, 2016
These attributes cause problems when hut is included into a release, using Relx (and by extension systools). See erlware/relx#18
eproxus added a commit to eproxus/hut that referenced this issue Mar 17, 2016
This attribute cause problems when hut is included into a release, using Relx (and by extension systools). See erlware/relx#18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants