emacs - Symbol's value as variable is void: eclimd-port -


after following installation guidelines of emacs-eclim wanted start eclimd "start-eclimd" following error message pops in mini-buffer.

symbol's value variable void: eclimd-port

eclimd script works flawless when started in eclipse.

running script in shell gives me following error:

your jvm not support architecture required version of eclipse have installed: -d32

my java version:

java version "1.7.0_21" openjdk runtime environment (icedtea 2.3.9) (7u21-2.3.9-1ubuntu1) openjdk 64-bit server vm (build 23.7-b01, mixed mode)

is 64-bit issue?

i want have control on daemon within emacs or @ least script. these lines relevant in .emacs:

;; eclim - eclipse interface emacs (require 'eclim) (global-eclim-mode) (require 'eclimd) 

full stack trace:

debugger entered--lisp error: (void-variable eclimd-port)   (let ((eclimd-start-regexp "eclim server started on\\(?: port\\|:\\) \\(?:\\(?:[0-9]+\\.\\)\\{3\\}[0-9]+:\\)?\\([0-9]+\\)")) (save-match-data (let ((output (eclimd--match-process-output eclimd-start-regexp eclimd-process))) (when output (setq eclimd-port (match-string 1 output)) (message (concat "eclimd serving @ port " eclimd-port))))) eclimd-port)   wait-eclimd-start()   (progn (wait-eclimd-start))   (if eclimd-wait-for-process (progn (wait-eclimd-start)))   (when eclimd-wait-for-process (wait-eclimd-start))   (if (eclimd--running-p) (message "cannot start eclimd: eclimd running.") (message (concat "starting eclimd workspace: " workspace-dir "...")) (setq eclimd-process-buffer (make-comint eclimd-process-buffer-name eclimd-prog nil (concat "-dosgi.instance.area.default=" (replace-regexp-in-string "~" "@user.home" workspace-dir)))) (setq eclimd-process (get-buffer-process eclimd-process-buffer)) (when eclimd-wait-for-process (wait-eclimd-start)))   (if (not eclimd-prog) (message "cannot start eclimd: check eclimd-executable variable.") (if (eclimd--running-p) (message "cannot start eclimd: eclimd running.") (message (concat "starting eclimd workspace: " workspace-dir "...")) (setq eclimd-process-buffer (make-comint eclimd-process-buffer-name eclimd-prog nil (concat "-dosgi.instance.area.default=" (replace-regexp-in-string "~" "@user.home" workspace-dir)))) (setq eclimd-process (get-buffer-process eclimd-process-buffer)) (when eclimd-wait-for-process (wait-eclimd-start))))   (let ((eclimd-prog (eclimd--executable-path))) (if (not eclimd-prog) (message "cannot start eclimd: check eclimd-executable variable.") (if (eclimd--running-p) (message "cannot start eclimd: eclimd running.") (message (concat "starting eclimd workspace: " workspace-dir "...")) (setq eclimd-process-buffer (make-comint eclimd-process-buffer-name eclimd-prog nil (concat "-dosgi.instance.area.default=" (replace-regexp-in-string "~" "@user.home" workspace-dir)))) (setq eclimd-process (get-buffer-process eclimd-process-buffer)) (when eclimd-wait-for-process (wait-eclimd-start)))))   start-eclimd("~/workspace")   call-interactively(start-eclimd t nil)   execute-extended-command(nil)   call-interactively(execute-extended-command nil nil) 

i think there bug in eclimd.el file (~/.emacs.d/elpa/emacs-eclim-20140809.207/eclimd.el)

i added defvar eclimd-port , resolved issue. (reported here:https://github.com/senny/emacs-eclim/issues/156)

    (defvar eclimd-port nil       "the active eclimd port number") 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -