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

Startup & argument handling needs an overhaul #68

Open
krestenkrab opened this issue Oct 7, 2013 · 1 comment
Open

Startup & argument handling needs an overhaul #68

krestenkrab opened this issue Oct 7, 2013 · 1 comment

Comments

@krestenkrab
Copy link
Contributor

In many cases, code that run fine when run using "plain ej" with a bunch of -pa arguments doesn't work when subjected to the intricate arguments used in an erlang release.

  • the -args_file option needs to "expand" the file's contents before argument processing
  • When running via a release (as opposed to the installed OTP_HOME), erjang can't find certain modules at startup (often error_handler).

In short, we need to do an overhaul of the launch sequence.

This should be a relatively easy project to get acquainted with the Erjang codebase, most notably because it does not involve the JIT compiler, and should be debuggable before anything tricky happens in the VM.

@eriksoe
Copy link
Contributor

eriksoe commented Feb 3, 2014

Getting somewhere - please see https://github.com/trifork/erjang/tree/startup-overhaul

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