Open nloyola opened 8 years ago
I created my own function to do this.
(defun eclim-run-configuartion (configuration-name)
"Runs the configuration given in CONFIGURATION-NAME in the compilation buffer."
(interactive (list (eclim-java-run--ask-which-configuration)))
(let* ((current-directory default-directory)
(configurations (eclim-java-run--load-configurations (eclim-project-name)))
(configuration (eclim-java-run--configuration configuration-name configurations))
(project-dir (eclim-java-run--project-dir (eclim-project-name)))
(classpath (eclim/java-classpath (eclim-project-name)))
(command (eclim-java-run--command configuration (eclim-java-run--java-vm-args classpath))))
(setq default-directory project-dir)
(compile command)
(setq default-directory current-directory)
))
Maybe it can be added to the package?
I think this problem is still alive.
@LeaveNhA : the emacs-eclim project has moved to https://github.com/emacs-eclim/emacs-eclim. Have you tried out the version from that repo?
@skybert I will inform you about result. Thank you.
When using the command
eclim-run-class
the output is displayed in the*compilation*
buffer. However, when using theeclim-java-run-run
the output is displayed in a different buffer. It it possible for the output to be shown in the*compilation*
buffer?