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

Make it possible to start additional OTP-Applications #75

Closed
hirschenberger opened this issue Feb 17, 2012 · 2 comments
Closed

Make it possible to start additional OTP-Applications #75

hirschenberger opened this issue Feb 17, 2012 · 2 comments
Milestone

Comments

@hirschenberger
Copy link

It should be possible to specify additional (external) OTP-Applications to be started in the boss.conf file. It is usefull to implement some complex backend functionality (e.g. gen_fsm ...)

A possible solution would be to add an {included_applications, [myapp]} tag to boss.conf which will be added to the boss application's environment.
When the boss-app is starting it evaluates this list and starts the apps in boss' supervisor.

I can try to implement it if you think it is a clean way and the feature is wanted.

@jeremyong
Copy link

+1 to this feature.

This actually seems to work when I try it by modifying the boss.config and rebar.config file and adding the path to my application. However, running external OTP applications in this way seems to produce unwanted side-effects, like the Boss framework attempting to load routes for the external app.

Another possibility I see beyond your suggestion is to modify the rebar plugin in priv/rebar to handle starting these additional applications.

Thoughts?

@ghost ghost assigned zkessin Jan 7, 2014
@ghost ghost mentioned this issue Dec 7, 2014
@danikp
Copy link
Contributor

danikp commented Oct 11, 2015

as described in #530, there is Erlang way to do that

@danikp danikp closed this as completed Oct 11, 2015
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

4 participants