sebastiw / edts

Erlang Development Tool Suite
GNU Lesser General Public License v3.0
354 stars 82 forks source link

Multiuser system, customizable webserver port patch #187

Closed sebastiw closed 7 years ago

sebastiw commented 9 years ago

EDTS won't work in a multiuser system due to

  1. The background webserver port is the same for all instances on the host
  2. EPMD starts on the same port for all instances on the host

Problem 2 can be solved by setting the environment variable ERL_EPMD_PORT before starting Emacs.

Problem 1 is solved in this patch by letting the user customize the port in both Erlang and Elisp. This is done by changing the port in lib/edts/priv/port.conf, and can be done in run-time and then reloading edts (thus restarting the webserver).

sebastiw commented 9 years ago

Ok, I uploaded a patch that supports emacs23. Travis build failed for emacs23+OTP R15B03 because of something broken in edts_xref plugin? I got the error: ERROR: Cover analyze failed for edts_dialyzer_test_module: {not_cover_compiled, edts_dialyzer_test_module} "/home/travis/build/tjarvstrand/edts/plugins/edts_dialyzer/.eunit/edts_dialyzer_test_module.beam"