Everytime i activate ECB, it is copying the settings from
my prj.el file to my .emacs files, which is highly undesirable.
I addition, I cannot get ECB to auto activate itself when JDE
runs. I have tried using the customization buffer to add
jde-mode to the list of modes on the ecb-major-modes-activate
variable, but with no luck (i've removed that setting for now,
since it won't work for me)
The following is my prj.el file:
(jde-project-file-version "1.0")
(jde-set-variables)
(custom-set-variables
'(jde-lib-directory-names
(list "^lib" "^jar"))
'(jde-global-classpath
(list
"."
"E:/SynygyCompensation10/WEB-INF/src"
"E:/SynygyCompensation10/WEB-INF/classes"
"E:/SynygyCompensation10/WEB-INF/lib"
;; "E:/SynygyCompensation10/WEB-INF/lib/SC10-Classes.jar"
; "E:/SynygyCompensation10/WEB-INF/lib/aspectjrt.jar"
; "E:/SynygyCompensation10/WEB-INF/lib/classes12.zip"
; "E:/SynygyCompensation10/WEB-INF/lib/jdom.jar"
; "E:/SynygyCompensation10/WEB-INF/lib/JSQLConnect.jar"
; "E:/SynygyCompensation10/WEB-INF/lib/log4j-1.2.5.jar"
; "E:/SynygyCompensation10/WEB-INF/lib/syncommon.jar"
; "E:/SynygyCompensation10/WEB-INF/lib/xalan.jar"
; "E:/SynygyCompensation10/WEB-INF/lib/xml-apis.jar"
; "E:/SynygyCompensation10/WEB-INF/lib/jdbc2_0-stdext.jar"
"E:/SynygyCompensation10/applet/lib/jviews.jar"
"E:/SynDev/Tomcat 4.1.12/common/lib/SynAPI4J.jar"
"E:/SynDev/Tomcat 4.1.12/common/lib/servlet.jar"
"E:/SynDev/Parasoft/Jtest4.5/classes/jtest.zip"
"E:/SynDev/Parasoft/Jtest4.5/bin/junit.jar"
))
;; Set the options for the java compiler
;; Right now, let's just send the output class
;; Files to our SynygyCompensation Directory
'(jde-compile-option-directory
"E:/SynygyCompensation10/WEB-INF/classes")
'(jde-sourcepath
(list
"E:/SynygyCompensation10/WEB-INF/src"
))
'(jde-javadoc-gen-destination-directory
"E:/SynygyCompensation10/javadocs")
)
my custom-set variables in .emacs:
(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
'(bs-default-configuration "all")
'(case-fold-search t)
'(current-language-environment "Latin-1")
'(default-input-method "latin-1-prefix")
'(ecb-frame "ECB" t)
'(ecb-major-modes-activate (quote ((jde-mode . default))))
'(ecb-new-ecb-frame t)
'(global-font-lock-mode t nil (font-lock))
'(jde-javadoc-command-path "E:/SynDev/jdk1.3.1/bin/javadoc.exe")
'(jde-lib-directory-names (list "^lib" "^jar"))
'(show-paren-mode t nil (paren))
'(transient-mark-mode t))
Emacs : GNU Emacs 21.2.1 (i386-msvc-nt5.0.2195)
of 2002-03-19 on buffy
Package: ECB: 1.80, Semantic: 1.4.1, JDE: 2.3.1
current state:
==============
(setq
after-save-hook '(semantic-rebovinate-quickly-hook
t)
compilation-mode-hook nil
ediff-quit-hook '(ediff-cleanup-mess
ecb-ediff-quit-hook)
help-mode-hook nil
post-command-hook '(jde-detect-java-buffer-activation t)
pre-command-hook '(blink-cursor-end
ecb-layout-pre-command-hook
eldoc-pre-command-refresh-echo-area CUA-pre-hook delete-selection-pre-hook)
semantic-after-partial-cache-change-hook '(jde-parse-update-after-partial-parse t)
semantic-after-toplevel-cache-change-hook '(jde-parse-update-after-parse t)
ecb-path-selected-directory "e:/SynygyCompensation10/WEB-INF/src/com/synygy/modules/data"
ecb-path-selected-source "e:/SynygyCompensation10/WEB-INF/src/com/synygy/modules/data/GlobalParameterConsts.java"
ecb-post-command-hooks '(ecb-layout-post-command-hook)
ecb-toggle-layout-state 0
ecb-activate-before-layout-draw-hook nil
ecb-activate-before-new-frame-created-hook nil
ecb-activate-hook '(ecb-eshell-auto-activate-hook)
ecb-add-path-for-not-matching-files '(t)
ecb-advice-window-functions '(other-window
delete-window
delete-other-windows
delete-windows-on
split-window-horizontally split-window-vertically switch-to-buffer switch-to-buffer-other-window)
ecb-auto-activate nil
ecb-auto-compatibility-check t
ecb-auto-expand-directory-tree 'best
ecb-auto-update-methods-after-save t
ecb-bucket-token-display '("" ""
ecb-bucket-token-face)
ecb-cache-directory-contents nil
ecb-clear-history-behavior 'not-existing-buffers
ecb-compilation-buffer-names '("*eshell*"
"*Apropos*" "*Help*"
"*Backtrace*"
"*shell*" "*bsh*"
"*Messages*")
ecb-compile-window-enlarge-by-select nil
ecb-compile-window-height nil
ecb-compile-window-temporally-enlarge 'after-compilation
ecb-current-buffer-sync-hook '(ecb-eshell-current-buffer-sync)
ecb-deactivate-hook nil
ecb-debug-mode nil
ecb-directories-buffer-name " *ECB Directories*"
ecb-directories-general-face 'ecb-default-general-face
ecb-directory-face 'ecb-default-highlight-face
ecb-download-delete-archive 'always
ecb-download-url "http://ftp1.sourceforge.net/ecb/"
ecb-download-version "latest"
ecb-eshell-auto-activate nil
ecb-eshell-enlarge-when-selecting t
ecb-eshell-enlarge-when-starting t
ecb-exclude-parents-regexp nil
ecb-excluded-directories-regexp "^\\(CVS\\|\\..*\\)$"
ecb-font-lock-tokens t
ecb-hide-ecb-windows-hook nil
ecb-highlight-token-header-after-jump t
ecb-highlight-token-with-point 'highlight-scroll
ecb-highlight-token-with-point-delay 0.25
ecb-history-buffer-name " *ECB History*"
ecb-history-face 'ecb-default-highlight-face
ecb-history-general-face 'ecb-default-general-face
ecb-history-item-name 'buffer-name
ecb-key-map '("C-c ." (t "f" ecb-activate)
(t "p" ecb-nav-goto-previous)
(t "n" ecb-nav-goto-next)
(t "r" ecb-redraw-layout)
(t "w" ecb-toggle-ecb-windows)
(t "l" ecb-toggle-layout)
(t "o" ecb-show-help)
(t "1" ecb-goto-window-edit1)
(t "2" ecb-goto-window-edit2)
(t "c" ecb-goto-window-compilation)
(t "d" ecb-goto-window-directories)
(t "s" ecb-goto-window-sources)
(t "m" ecb-goto-window-methods)
(t "h" ecb-goto-window-history)
(t "e" ecb-eshell-goto-eshell)
(t "/"
ecb-toggle-enlarged-compilation-window)
(t "."
ecb-cycle-through-compilation-buffers)
)
ecb-kill-buffer-clears-history nil
ecb-layout-always-operate-in-edit-window '(delete-window delete-other-windows switch-to-buffer switch-to-buffer-other-window)
ecb-layout-nr 9
ecb-layout-switch-to-compilation-window '(switch-to-buffer)
ecb-layout-window-sizes nil
ecb-major-modes-activate '((jde-mode . default))
ecb-major-modes-deactivate 'none
ecb-method-face 'ecb-default-highlight-face
ecb-methods-buffer-name " *ECB Methods*"
ecb-methods-general-face 'ecb-default-general-face
ecb-minor-mode-text " ECB"
ecb-mode-line-prefixes '(nil nil nil "History")
ecb-new-ecb-frame t
ecb-other-window-jump-behavior 'all
ecb-post-process-semantic-tokenlist '((c++-mode .
ecb-group-function-tokens-with-parents)
(emacs-lisp-mode . ecb-group-function-tokens-with-parents)
)
ecb-primary-mouse-jump-destination 'left-top
ecb-primary-secondary-mouse-buttons 'mouse-2--C-mouse-2
ecb-redraw-layout-quickly nil
ecb-scroll-window-after-jump nil
ecb-select-edit-window-on-redraw nil
ecb-show-ecb-windows-hook nil
ecb-show-help-format 'info
ecb-show-node-info-in-minibuffer '((if-too-long .
path)
(if-too-long .
name)
(always . path)
(if-too-long .
name+type)
)
ecb-show-only-positioned-tokens t
ecb-show-source-file-extension t
ecb-show-sources-in-directories-buffer nil
ecb-show-tokens '((include collapsed nil)
(parent collapsed nil)
(type flattened nil)
(variable collapsed access)
(function flattened access)
(rule flattened name)
(t collapsed name))
ecb-sort-history-items nil
ecb-source-face 'ecb-default-highlight-face
ecb-source-file-regexps '("\\(^\\(\\.\\|#\\)\\|\\(~$\\|\\.\\(elc\\|obj\\|o\\|class\\|lib\\|dll\\|a\\|so\\|cache\\)$\\)\\)" "^\\.\\(emacs\\|gnus\\)$")
ecb-source-in-directories-buffer-face 'ecb-source-in-directories-buffer-face
ecb-source-path '(("e:" "e:"))
ecb-sources-buffer-name " *ECB Sources*"
ecb-sources-general-face 'ecb-default-general-face
ecb-sources-sort-method 'name
ecb-split-edit-window nil
ecb-temp-dir "c:/DOCUME~1/inger/LOCALS~1/Temp/"
ecb-toggle-layout-sequence '(11 16)
ecb-token-display-function '((default .
ecb-prototype-nonterminal)
)
ecb-token-header-face 'ecb-token-header-face
ecb-token-jump-narrow nil
ecb-token-jump-sets-mark t
ecb-tree-RET-selects-edit-window '(" *ECB Directories*" " *ECB Sources*" " *ECB Methods*" " *ECB History*")
ecb-tree-expand-symbol-before nil
ecb-tree-incremental-search 'prefix
ecb-tree-indent 2
ecb-tree-navigation-by-arrow t
ecb-truncate-lines t
ecb-truncate-long-names t
ecb-type-token-display nil
ecb-use-recursive-edit nil
ecb-version-check t
ecb-window-sync '(Info-mode dired-mode)
ecb-window-sync-delay 0.25
ecb-windows-height 0.33
ecb-windows-width 0.33
)
-----------------------------------------------------
There was no *Backtrace* buffer
-----------------------------------------------------
-----------------------------------------------------
The contents of the *Messages* buffer were
Loading ~/.emacs.user...
Loading pc-select...done
Loading delsel...done
Loading cua-mode...done
Loading image...done
Loading e:/SynDev/emacs-21.2/bin/fns-21.2.1.el (source)...done
Loading semantic-util-modes...done
Loading senator...
Loading easymenu...done
Loading ring...done
Loading senator...done
Loading semanticdb...done
Defining colors...
Loading mule-util...done
jde-java-font-lock: building names cache...empty
ECB 1.80 uses semantic 1.4.1 and eieio 0.17
Loading edmacro...done
Loading folding...done
Loading html-helper-mode...done
Loading cygwin-mount...done
Loading cl-seq...done
Loading sort...done
Loading ~/.emacs.user...done
Loading semantic-el...done
For information about the GNU Project and its goals, type C-h C-p.
Loading dired...done
Reading directory e:/SynygyCompensation10/WEB-INF/src/com/synygy/modules/data/...done
Loading e:/SynygyCompensation10/prj.el (source)...done
Mark set [2 times]
Preparing problem report...
Loading sendmail...done
Formatting bug report buffer...............
Mark set [3 times]
Please enter your report. Type C-c C-c to send, C-x k to abort.
ECB redrawing layout...done
Preparing bug report...done
Mark set [3 times]
C-?:help C-z:undo C-x:cut C-c:copy C-v:paste S-ret:rect
Mark set [2 times]
C-?:help C-z:undo C-x:cut C-c:copy C-v:paste S-ret:rect
Mark set [2 times]
C-?:help C-z:undo C-x:cut C-c:copy C-v:paste S-ret:rect
Loading jde-javadoc...
Loading e:/SynygyCompensation10/prj.el (source)...done
Loading jde-javadoc...done
The ECB is now activated.
There were no incompatible or renamed options!
Preparing problem report...
Formatting bug report buffer...................
Mark set [2 times]
End Insert *Messages* buffer
-----------------------------------------------------