start-eclimd freeze in emacs24 on Windows, and empty project list

156 views
Skip to first unread message

Laurent Malvert

unread,
Feb 8, 2013, 5:32:49 AM2/8/13
to emacs...@googlegroups.com
Hello,

my emacs will freeze every time when I start eclimd.

When I invoke it, eclimd spawns a command window correctly and the
headless eclipse server starts up until the line:

eclimd Server Started on: 127.0.0.1:9091

However, my emacs doesn't seem to ever connect to it.



If I try another approach and start eclimd manually (and gives it the
path to my workspace as argument) and then invoke M-x
eclim-manage-projects, I get an empty project list even though this
eclipse workspace contains some open projects.

Is there anything I am missing?


--
Laurent Malvert

Laurent Malvert

unread,
Feb 8, 2013, 5:40:24 AM2/8/13
to emacs...@googlegroups.com
On Friday, February 8, 2013 10:32:49 AM UTC, Laurent Malvert wrote:
> [...]

> If I try another approach and start eclimd manually (and gives it the
> path to my workspace as argument) and then invoke M-x
> eclim-manage-projects, I get an empty project list even though this
> eclipse workspace contains some open projects. 

I was just looking around at other features, and I noticed that
attempting a search would look for files in the "default" workspace
folder ("%USERPROFILE%/workspace"), even though I had
specified one for eclimd.

Is there anything that needs to be done to have emacs-eclim connect
to eclimd? It may be it just didn't connect to the server (there's
nothing in the server's log notifying of an incoming connection)

Here's my .emacs content relative to emacs-eclim:

;; adding to eclim dependencies to load path
;;  `-- popup
(add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/popup-20130117.1954/"))
;;  `-- auto-complete
(add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/auto-complete-20130122.1551/"))
;;  `-- company
(add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/company-0.5/"))

;; setting up and loading emacs-eclim
(add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/emacs-eclim-20130203.1712/"))
;; only add the vendor path when you want to use the libraries provided with emacs-eclim
(add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/emacs-eclim-20130203.1712/vendor/"))
(require 'eclim)
(require 'eclimd)

(setq eclim-auto-save t)
(global-eclim-mode)

(setq help-at-pt-display-when-idle t)
(setq help-at-pt-timer-delay 0.1)
(help-at-pt-set-timer)

;; regular auto-complete initialization
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(ac-config-default)
(global-auto-complete-mode t)

;; add the emacs-eclim source
(require 'ac-emacs-eclim-source)
(ac-emacs-eclim-config)

;; company initialization
(require 'company)
(require 'company-emacs-eclim)
(company-emacs-eclim-setup)
(global-company-mode t)


(custom-set-variables
 '(eclim-eclipse-dirs (quote ("c:/apps/x64/dev/ide/eclipse/jee-4.2.1/")))
 '(eclim-executable "c:/apps/x64/dev/ide/eclipse/jee-4.2.1/eclim.bat")
 '(eclimd-executable "c:/apps/x64/dev/ide/eclipse/jee-4.2.1/eclimd.bat")
 '(eclimd-default-workspace "c:/ws/"))

Thanks in advance for any help.

--
Laurent Malvert
Reply all
Reply to author
Forward
0 new messages