all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* eclim-mode setup
@ 2011-01-30 14:40 Marius
  0 siblings, 0 replies; 2+ messages in thread
From: Marius @ 2011-01-30 14:40 UTC (permalink / raw)
  To: help-gnu-emacs

Hi!

The emacs-eclim project (https://github.com/senny/emacs-eclim)
provides Eclipse integration, and I configured my emacs 23.1.1, using
the newest emacs-eclim revision available at this date. I'm on a Linux
machine, eclimd runs within Eclipse.

Vim connects successfully:

eclim   1.6.1
eclipse 3.6.1

Eclipse reports:
2011-01-30 13:13:27,449 INFO
[org.eclim.eclipse.AbstractEclimApplication] Eclim Server Started on
port 9091.

But emacs doesn't work with eclim-emacs:
M-x eclim-manage-project returns: "Wrong type argument: stringp, nil"
and opens an empty new buffer.
I cannot list the workspace. I don't get any functionality from eclim,
but auto-save. So the mode loads successfully.

.emacs: https://github.com/wishi/linux-dots/blob/master/.emacs

I want emacs-eclim project management, refactoring and completion for
now. The JDE stuff is just additionally.

;; loading eclim defaults to get Eclipse's power into emacs
(add-to-list 'load-path (expand-file-name "~/Source/emacs-eclim/"))
(add-to-list 'load-path (expand-file-name "~/Source/emacs-eclim/vendor"))
 (require 'eclim)
 (setq eclim-auto-save t)
 (global-eclim-mode)

(setq company-idle-delay nil company-eclim-auto-save t)
(setq company-eclim-executable
"~/eclipse_wrk/eclipse_32/plugins/org.eclim_1.6.1/bin/eclim")

(defun th-java-mode-init ()
  (setq company-backend 'company-eclim))
(add-hook 'java-mode-hook 'th-java-mode-init)

Is there anything wrong with this configuration?

Thanks,
Marius



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: eclim-mode setup
       [not found] <mailman.13.1296491143.11110.help-gnu-emacs@gnu.org>
@ 2011-01-31 17:19 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2011-01-31 17:19 UTC (permalink / raw)
  To: help-gnu-emacs

> M-x eclim-manage-project returns: "Wrong type argument: stringp, nil"

Turn on debugging (Options => Enter Debugger on Error) and reproduce the
above error: that should give you a backtrace which will help trace
the problem (post it here, if that doesn't help you enough).


        Stefan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-31 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.13.1296491143.11110.help-gnu-emacs@gnu.org>
2011-01-31 17:19 ` eclim-mode setup Stefan Monnier
2011-01-30 14:40 Marius

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.