Ed Mooney <[EMAIL PROTECTED]> writes:
> FWIW, I started using JDEE with Cygwin emacs again after Henry
> Thompson reported doing so successfully a while back[1]. The only
> functionality I've missed so far is with jde-find[2]. This compares
> much favorably with a year ago or so, when (as I recall) C-c C-v C-c
> didn't work.
More clarification :-) -- I use Cygwin XEmacs (www.xemacs.org), not
Cygwin Emacs (www.gnu.org).
In the past I've used the cygwin installer provided by the XEmacs
people [1], which gives you a choice at install time of using Cygwin X
or native Windows, but that has stuck at 21.4.13 for some time, so
more recently I've compiled the sources myself under cygwin using gcc,
using the native windows settings. As I've said before on this
thread, I'm not clear why Ed and others are having trouble with file
paths, as (admittedly after some trial and error) I believe I have it
all working fine.
I'm attaching my complete jde-related initialisation information, in
the hopes this may help others.
ht
[1] http://www.xemacs.org/Download/win32/setup.exe
>From init.el:
(add-to-list 'load-path (expand-file-name "~/.xemacs/site-lisp/jde/lisp") t)
(add-to-list 'load-path (expand-file-name "~/.xemacs/site-lisp/elib-1.0") t)
(setq semantic-load-turn-useful-things-on t)
(load-file "~/.xemacs/site-lisp/cedet-1.0beta3b/common/cedet.elc")
(add-to-list 'load-path (expand-file-name "~/.xemacs/site-lisp/ecb-2.31") t)
;;; Try to keep ecb from hanging. . .
(setq
;;ecb-prescan-directories-for-emptyness nil
ecb-vc-enable-support nil ; super-slow
ecb-ping-options '("-s" "1") ; for cygwin
)
(require 'jde-autoload)
(require 'ecb-autoloads)
(add-hook 'jde-run-mode-hook
(function
(lambda ()
(define-key (current-local-map) [(shift mouse-2)]
'jde-run-etrace-show-at-mouse))))
>From custom.el:
(custom-set-variables
'(ecb-layout-name "leftright1")
'(ecb-layout-window-sizes (quote (("leftright1" (0.1474358974358974 .
0.3620689655172414) (0.1474358974358974 . 0.3275862068965517)
(0.1474358974358974 . 0.3103448275862069) (0.2051282051282051 . 1.0)))))
'(ecb-options-version "2.31")
'(ecb-source-file-regexps (quote ((".*"
("\\(^\\(\\.\\|#\\)\\|\\(~$\\|\\.\\(elc\\|obj\\|o\\|class\\|lib\\|dll\\|a\\|so\\|cache\\|pyc\\)$\\)\\)")
("^\\.\\(emacs\\|gnus\\)$")))))
'(ecb-sources-exclude-cvsignore (quote (".*")))
'(jde-ant-buildfile "build.xml")
'(jde-ant-enable-find t t)
'(jde-ant-read-target t)
'(jde-auto-parse-buffer-interval 60)
'(jde-db-option-application-args (quote ("-err" "err.xml" "id.xpdl")))
'(jde-enable-abbrev-mode t)
'(jde-global-classpath (quote
("/home/ht/MT/source/debug:/home/ht/MT/source/3rdparty/jh.jar:/home/ht/MT/source/3rdparty/jsearch.jar")))
'(jde-jdk (quote ("1.4.2")))
'(jde-jdk-registry (quote (("1.4.2" . "/c/Program Files/j2sdk1.4.2"))))
'(jde-run-application-class "com.markuptech.tools.mtpl.MTPLApp")
'(progress-feedback-use-echo-area t)
'(recent-files-dont-include (quote ("semantic.cache")))
'(semantic-idle-scheduler-idle-time 70)
'(semantic-imenu-auto-rebuild-directory-indexes nil)
'(semantic-imenu-index-directory nil)
'(semanticdb-global-mode nil nil (semanticdb))
'(semanticdb-minor-mode nil)
)
>From prj.el:
(jde-project-file-version "1.0")
(jde-set-variables
'(jde-bug-debugger-host-address "localhost")
'(jde-help-docsets (quote (("JDK API" "/c/Program Files/j2sdk1.3.1/docs/api"
nil) ("User (javadoc)" "/home/ht/MT/source/docs/api" nil))))
'(jde-ant-enable-find t)
'(jde-debugger (quote ("JDEbug")))
'(jde-enable-abbrev-mode t)
'(jde-sourcepath (quote ("/home/ht/MT/source")))
'(jde-bug-jpda-directory "c:\\Program Files\\j2sdk1.4.2")
'(jde-jdk-registry (quote (("1.4.2" . "/c/Program Files/j2sdk1.4.2"))))
'(jde-build-function (quote (jde-ant-build)))
'(jde-global-classpath (quote
("/home/ht/MT/source/debug:/home/ht/MT/source/3rdparty/jh.jar:/home/ht/MT/source/3rdparty/jsearch.jar")))
'(jde-jdk (quote ("1.4.2"))))
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED]
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]