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

Using command eclim-java-run-run #244

Open
nloyola opened this issue Sep 16, 2015 · 4 comments
Open

Using command eclim-java-run-run #244

nloyola opened this issue Sep 16, 2015 · 4 comments

Comments

@nloyola
Copy link

nloyola commented Sep 16, 2015

When using the command eclim-run-class the output is displayed in the *compilation* buffer. However, when using the eclim-java-run-run the output is displayed in a different buffer. It it possible for the output to be shown in the *compilation* buffer?

@nloyola
Copy link
Author

nloyola commented Oct 30, 2015

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?

@LeaveNhA
Copy link

I think this problem is still alive.

@skybert
Copy link

skybert commented Nov 28, 2017

@LeaveNhA : the emacs-eclim project has moved to https://github.com/emacs-eclim/emacs-eclim. Have you tried out the version from that repo?

@LeaveNhA
Copy link

@skybert I will inform you about result. Thank you.

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

3 participants