You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to edit 2 different project, and project A needs otp 25, and project B needs otp 27. In order for project B to compile correctly emacs is started in a terminal with kerl switched to otp-27.
But as soon as a file in project A is opened ELP seems to compile them again and overwrite the beam files with OTP-27 compiled versions of the same beam file. And it is very confusing to why all of a sudden tests start failing and so forth.
To Reproduce**
Create a project that depends on for instance jsonformat
Compile and run some tests for this project with otp-25.
In a separate terminal, activate otp 27 with . ~/.kerl/27.1.2/activate
In this other terminal open emacs with ELP as an IDE, now running otp 27.
Open one of the test suites in emacs.
Expected behavior
Running rebar3 ct should work as before opening emacs.
I have not. As stated above I'm using kerl for setting otp version per terminal. I would have to switch to asdf if I want to try direnv.
But what was the scary part was the surprise of projects seemingly randomly stopping to work. You run rebar3 ct and all is fine. You edit a file and add some logging and all of a sudden tests fail and rebar3 core dumps. It was very very hard to debug.
Describe the bug
I need to edit 2 different project, and project A needs otp 25, and project B needs otp 27. In order for project B to compile correctly emacs is started in a terminal with kerl switched to otp-27.
But as soon as a file in project A is opened ELP seems to compile them again and overwrite the beam files with OTP-27 compiled versions of the same beam file. And it is very confusing to why all of a sudden tests start failing and so forth.
To Reproduce**
jsonformat
. ~/.kerl/27.1.2/activate
Expected behavior
Running
rebar3 ct
should work as before opening emacs.Actual behavior
Errors like these start popping up.
Context
elp version
): elp 1.1.0+build-2024-11-07The text was updated successfully, but these errors were encountered: