Adrian Robert | 4 Oct 19:53 2005

jde-import commands and GNU Emacs-22/23

Hi,

Problem: if I try jde's 'import' commands they don't work.

jde-import-kill-extra-imports gives:

Wrong type argument: arrayp, 5

Stack trace:

Debugger entered--Lisp error: (wrong-type-argument arrayp 5)
   substring(5 0 2)
   (let* ((import ...) (name ...) (classname ...) (case-fold-search  
nil) (number-of-matches ...)) (if (or ... ... ...) (setq extra- 
imports ...) (setq required-imports ...)))
   (while imports (let* (... ... ... ... ...) (if ... ... ...)) (setq  
imports (cdr imports)))
   (save-excursion (goto-char 0) (while imports (let* ... ...) (setq  
imports ...)) (if (not extra-imports) (message "No extra imports  
found") (let ... ... ... ...)))
   (let* ((packages ...) (package-imports ...) (first-import ...)  
extra-imports required-imports) (save-excursion (goto-char 0) (while  
imports ... ...) (if ... ... ...)))
   (if (not imports) (message "No import found") (let* (... ... ...  
extra-imports required-imports) (save-excursion ... ... ...)))
   (let* ((tags ...) (imports ...)) (if (not imports) (message "No  
import found") (let* ... ...)))
   jde-import-kill-extra-imports(nil)

jde-import-all gives:
(Continue reading)

Adrian Robert | 4 Oct 20:09 2005

Re: jde-import commands and GNU Emacs-22/23

Small update:

First problem (jde-import-kill-extra-imports) goes away on emacs-21.3  
text terminal version bundled on MacOSX.  So maybe something has  
affected the lisp code in either cedit, ellib, or jde in emacs  
22/23.  Second problem (finding developer tools jar) remains.

On Oct 4, 2005, at 1:53 PM, Adrian Robert wrote:

> Hi,
>
> Problem: if I try jde's 'import' commands they don't work.
>
>
> jde-import-kill-extra-imports gives:
>
> Wrong type argument: arrayp, 5
>
> Stack trace:
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp 5)
>   substring(5 0 2)
>   (let* ((import ...) (name ...) (classname ...) (case-fold-search  
> nil) (number-of-matches ...)) (if (or ... ... ...) (setq extra- 
> imports ...) (setq required-imports ...)))
>   (while imports (let* (... ... ... ... ...) (if ... ... ...))  
> (setq imports (cdr imports)))
>   (save-excursion (goto-char 0) (while imports (let* ... ...) (setq  
> imports ...)) (if (not extra-imports) (message "No extra imports  
> found") (let ... ... ... ...)))
(Continue reading)

Suraj Acharya | 4 Oct 23:45 2005
Picon

Re: jde-import commands and GNU Emacs-22/23

On the Mac jde should be looking for Classes/classes.jar in your JVM directory (see the
definition of jde-get-tools-jar in jde.el). Check that you have this file and that
system-type is 'darwin.

Suraj

On 10/4/05, Adrian Robert <arobert <at> cogsci.ucsd.edu> wrote:
Small update:

First problem (jde-import-kill-extra-imports) goes away on emacs-21.3
text terminal version bundled on MacOSX.  So maybe something has
affected the lisp code in either cedit, ellib, or jde in emacs
22/23.  Second problem (finding developer tools jar) remains.



On Oct 4, 2005, at 1:53 PM, Adrian Robert wrote:

> Hi,
>
> Problem: if I try jde's 'import' commands they don't work.
>
>
> jde-import-kill-extra-imports gives:
>
> Wrong type argument: arrayp, 5
>
> Stack trace:
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp 5)
>   substring(5 0 2)
>   (let* ((import ...) (name ...) (classname ...) (case-fold-search
> nil) (number-of-matches ...)) (if (or ... ... ...) (setq extra-
> imports ...) (setq required-imports ...)))
>   (while imports (let* (... ... ... ... ...) (if ... ... ...))
> (setq imports (cdr imports)))
>   (save-excursion (goto-char 0) (while imports (let* ... ...) (setq
> imports ...)) (if (not extra-imports) (message "No extra imports
> found") (let ... ... ... ...)))
>   (let* ((packages ...) (package-imports ...) (first-import ...)
> extra-imports required-imports) (save-excursion (goto-char 0)
> (while imports ... ...) (if ... ... ...)))
>   (if (not imports) (message "No import found") (let* (... ... ...
> extra-imports required-imports) (save-excursion ... ... ...)))
>   (let* ((tags ...) (imports ...)) (if (not imports) (message "No
> import found") (let* ... ...)))
>   jde-import-kill-extra-imports(nil)
>
>
>
> jde-import-all gives:
>
> Cannot find JDK's tools jar file (or equivalent).
>
> For this latter, I customized my JDK registry (see below) and jde-
> jdk is set to a directory under which lib/dt.jar can be found.  I
> also tried copying this to "tools.jar" in the same dir.
>
>
> Most other import commands generate one or the other of these
> errors.  (-collapse is an exception.)
>
>
> I've tried both a month-old Emacs 22 (Aquamacs) and a 1-week-old
> Emacs unicode-2 branch version of GNU emacs, with
>
> jde-2.3.5
> cedet 1.0beta2b -or- cedet 1.0beta3b
> elib-1.0 downloaded from jdee.sunsite.dk
>
> All are non-byte-compiled.
>
> I used a minimal .emacs:
>
> (setq load-path (cons "/usr/local/share/emacs/site-lisp" load-path))
> (add-to-list 'load-path (expand-file-name "/usr/local/share/emacs/
> site-lisp/elib"))
> (load-file "/usr/local/share/emacs/site-lisp/cedet-1.0beta2b/common/
> cedet.el")
> (setq load-path (cons "/usr/local/share/emacs/site-lisp/jde-2.3.5/
> lisp" load-path))
> (require 'jde)
> (custom-set-variables
>   ;; custom-set-variables was added by Custom.
>   ;; If you edit it by hand, you could mess it up, so be careful.
>   ;; Your init file should contain only one such instance.
>   ;; If there is more than one, they won't work right.
> '(jde-jdk-registry (quote (("1.4.2" . "/System/Library/Frameworks/
> JavaVM.framework/Versions/1.4.2/Home")))))
> (custom-set-faces
>   ;; custom-set-faces was added by Custom.
>   ;; If you edit it by hand, you could mess it up, so be careful.
>   ;; Your init file should contain only one such instance.
>   ;; If there is more than one, they won't work right.
> )
>
> Any clues appreciated.  Is anyone using jde-import commands
> successfully with either a Macintosh and/or GNU Emacs CVS 22 or
> 23?  If so, which jde/cedet/elib versions, and is there anything
> else I should know?
>
> Alternatively, if anyone has successfully gotten an older version
> of jde running in emacs-20 recently, that would also be helpful
> (again, which jde/semantic/eieio/speedbar/elib)?
>
> thanks..
>
>
>
>
>


Adrian Robert | 5 Oct 15:45 2005

Re: jde-import commands and GNU Emacs-22/23


On Oct 4, 2005, at 5:45 PM, Suraj Acharya wrote:

> On the Mac jde should be looking for Classes/classes.jar in your  
> JVM directory (see the
> definition of jde-get-tools-jar in jde.el). Check that you have  
> this file and that
> system-type is 'darwin.

Thanks!

But I'm wondering why JDE works around OS X's Java compatibility  
mechanism; JDK directories like:

/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home

are set up to look to the rest of the world like an ordinary Sun JDK  
installation, and you can use:

/System/Library/Frameworks/JavaVM.framework/Home

to point to the system-set current JDK (though this would not work  
with JDE's jdk-registry mechanism).

There may have been a time when this compatibility layer was not in  
place (perhaps pre-10.2?) and the two checks in jde.el for 'system- 
type darwin' were needed, but now I think JDE should at least support  
users who have their JAVA_HOME set correctly on OS X.  Ideally the  
code would be simplified by just removing the special-casing, but in  
order to support existing installations, the following patch works  
with either setting (e.g. ".../Versions/1.4.2" or ".../Versions/1.4.2/ 
Home") and also attempts to support non-OS X Darwin systems.  (I did  
not test the latter.)

Attachment (jde-darwin-jdk-dir.patch): application/octet-stream, 1213 bytes

pjm | 6 Oct 16:19 2005

changing cc-mode settings in jde-mode-hook

     My cc-mode configuration includes the line

          (defun-block-intro . +)

which does what I want when writing C++ but not Java.  I would like to
change the '+' to a '0' for jde-mode.  Is there a way to do this using
jde-mode-hook?

Thanks,

Patrick

------------------------------------------------------------------------
S P Engineering, Inc.    | The experts in large scale distributed OO
                         | systems design and implementation.
          pjm <at> spe.com    | (C++, Java, Common Lisp, Jini, CORBA, UML)

Martin Schwamberger | 13 Oct 21:33 2005
Picon

Re: changing cc-mode settings in jde-mode-hook

I just noticed that I've forgotten to put the list on CC ...

pjm <at> spe.com wrote:
> Martin Schwamberger writes:
>  > (add-hook 'jde-mode-hook
>  >            (function
>  >             (lambda ()
>  >               (c-set-offset 'defun-block-intro 0))))
> 
> Martin,
> 
>      That did it, thanks very much!
> 
> Regards,
> 
> Patrick
> 
> ------------------------------------------------------------------------
> S P Engineering, Inc.    | The experts in large scale distributed OO
>                          | systems design and implementation.
>           pjm <at> spe.com    | (C++, Java, Common Lisp, Jini, CORBA, UML)
> 
> 
> 

Rory McCann | 21 Oct 18:33 2005
Picon

Error on startup: 'Package speedbar does not define speedbar-version'

I am trying to install JDE, but I'm having trouble. I've looked all over
the place trying to find a solution, but I haven't found anything. I've
been banging my head against the wall over this I am new to Emacs.

On startup I get the following error:

	An error has occurred while loading `/Users/rory/.emacs':

	error: Package speedbar does not define speedbar-version

	To ensure normal operation, you should investigate and remove the
	cause of the error in your initialization file.  Start Emacs with
	the `--debug-init' option to view a complete error backtrace.

Emacs 22.0.50.1 (powerpc-apple-darwin8.1.0)
JDE 2.3.5
CEDET 1.0pre3

This is the full output of startup:
------START OF OUTPUT-----
Loading byte-opt...done
Loading cl-extra...done
Loading regexp-opt...done
Loading /Users/rory/.emacs.d/cedet/common/cedet.el (source)...
"/Users/rory/.emacs.d/cedet/common/" added to `load-path'
"/Users/rory/.emacs.d/cedet/cogre" added to `load-path'
"/Users/rory/.emacs.d/cedet/ede" added to `load-path'
"/Users/rory/.emacs.d/cedet/eieio" added to `load-path'
"/Users/rory/.emacs.d/cedet/semantic" added to `load-path'
"/Users/rory/.emacs.d/cedet/speedbar" added to `load-path'
"/Users/rory/.emacs.d/cedet/contrib" added to `load-path'
Setting up cedet...done
Setting up cogre...done
Setting up ede...done
Setting up eieio...done
Setting up semantic...
Loading semantic-idle...done
Setting up semantic...done
Setting up speedbar...done
Setting up cedet-contrib...done
Loading /Users/rory/.emacs.d/cedet/common/cedet.el (source)...done
Loading semantic-decorate-mode...done
Loading senator...

An error has occurred while loading `/Users/rory/.emacs':

error: Package speedbar does not define speedbar-version

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

Loading semantic-el...done
Loading jit-lock...done
Loading encoded-kb...done
Loading semantic-edit...done
Loading semanticdb-file...done

------END OF OUTPUT----

This is my ~/.emacs:
-----START OF .emacs----
(global-font-lock-mode t)

;;; Add ~/.emacs.d/ to the load path
(add-to-list 'load-path "/Users/rory/.emacs.d/")
(add-to-list 'load-path "/Users/rory/.emacs.d/share/emacs/site-lisp/")

;;; The functions I've written
(load-file "~/.emacs.d/rmc-funcs.elc")

(autoload 'css-mode "css-mode")
 (setq auto-mode-alist (cons '("\\.css\\'" . css-mode) auto-mode-alist))

;;; SLIME stuff. See
http://common-lisp.net/project/slime/doc/html/slime_7.html#SEC7, and the
slime movie explaining it.
(add-to-list 'load-path "/Users/rory/local/slime/")
(require 'slime)
(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))

(setq inferior-lisp-program "/opt/local/bin/clisp"
      lisp-indent-function 'common-lisp-indent-function
      slime-complete-symbol-function 'slime-fuzzy-complete-symbol
      common-lisp-hyperspec-root
"file:///Users/rory/books/lisp/HyperSpec/"
      slime-start-animation nil)
(slime-setup)

;;; Python mode
(autoload 'python-mode "python-mode" "Python editing mode." t)
;(require 'python)
(setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist))
(setq interpreter-mode-alist (cons '("python" . python-mode)
interpreter-mode-alist))

;; TRAMP mode. http://jeremy.zawodny.com/blog/archives/000983.html
(require 'tramp)
(setq tramp-default-method "ssh")
;;(setq tramp-debug-buffer t)

;;; Ansi-Colour mode. Makes the shell look proper.
(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)

;;; HtmlModeDelux. http://www.emacswiki.org/cgi-bin/wiki/HtmlModeDeluxe
;;************************************************************
;; configure HTML editing
;;************************************************************

(require 'php-mode)

;; configure css-mode
(autoload 'css-mode "css-mode")
(add-to-list 'auto-mode-alist '("\\.css\\'" . css-mode))
(setq cssm-indent-function #'cssm-c-style-indenter)
(setq cssm-indent-level '2)

(add-hook 'php-mode-user-hook 'turn-on-font-lock)

(require 'mmm-mode)
(setq mmm-global-mode 'maybe)

;; set up an mmm group for fancy html editing
(mmm-add-group
     'fancy-html
     '(
       (html-php-tagged
	      :submode php-mode
	      :face mmm-code-submode-face
	      :front "<[?]php"
	      :back "[?]>")
       (html-css-attribute
	      :submode css-mode
	      :face mmm-declaration-submode-face
	      :front "style=\""
	      :back "\"")))

;; What files to invoke the new html-mode for?
(add-to-list 'auto-mode-alist '("\\.inc\\'" . html-mode))
(add-to-list 'auto-mode-alist '("\\.phtml\\'" . html-mode))
(add-to-list 'auto-mode-alist '("\\.php[34]?\\'" . html-mode))
(add-to-list 'auto-mode-alist '("\\.[sj]?html?\\'" . html-mode))
(add-to-list 'auto-mode-alist '("\\.jsp\\'" . html-mode))

;; What features should be turned on in this html-mode?
(add-to-list 'mmm-mode-ext-classes-alist '(html-mode nil html-js))
(add-to-list 'mmm-mode-ext-classes-alist '(html-mode nil embedded-css))
(add-to-list 'mmm-mode-ext-classes-alist '(html-mode nil fancy-html))

;; Not exactly related to editing HTML: enable editing help with mouse-3
in all sgml files
(defun go-bind-markup-menu-to-mouse3 ()
  (define-key sgml-mode-map [(down-mouse-3)] 'sgml-tags-menu))
(add-hook 'sgml-mode-hook 'go-bind-markup-menu-to-mouse3)

;;; CEDET Stuff.
;; Load ELib
(setq load-path (append (list
"/Users/rory/.emacs.d/share/emacs/site-lisp/elib") load-path))

;; Load CEDET

(load-file "~/.emacs.d/cedet/common/cedet.el")

;; Enabling various SEMANTIC minor modes.  See semantic/INSTALL for more
ideas.
;; Select one of the following
(semantic-load-enable-code-helpers)
;; (semantic-load-enable-guady-code-helpers)
;; (semantic-load-enable-excessive-code-helpers)

;; Enable this if you develop in semantic, or develop grammars
;; (semantic-load-enable-semantic-debugging-helpers)

;;; JDEE stuff. From: http://jdee.sunsite.dk/install.html
(add-to-list 'load-path (expand-file-name "~/.emacs.d/jde/lisp"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/cedet/common"))
(load-file (expand-file-name "~/.emacs.d/cedet/common/cedet.elc"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/elib"))

(require 'jde)
-----END OF .emacs----

Can anyone help?

Rory McCann

Rory McCann | 22 Oct 02:01 2005
Picon

Re: Error on startup: 'Package speedbar does not define speedbar-version'

On Fri, 21 Oct 2005, Rory McCann wrote:
> (require 'php-mode)

This post http://article.gmane.org/gmane.emacs.jdee/4612 gave me the idea
of checking which line loaded the other version of speedbar, and it's
this line. By commenting that out I was able to get jde to load. Of course
now I need to find a way of requiring php mode and jde.

Sorry for bothering people.

Rory McCann

Eric M. Ludlam | 22 Oct 02:15 2005

Re[1]: Error on startup: 'Package speedbar does not define speedbar-version'

The version of speedbar in Emacs 22 was recently advanced, though the
error below seems unlikely.

You can diagnose where speedbar is coming from with:

M-x locate-library RET speedbar RET

and if it is not from cedet dirs, or perhaps from Emacs itself, then
it should probably be deleted or renamed.

Eric

>>> Rory McCann <rory <at> netsoc.ucd.ie> seems to think that:
>I am trying to install JDE, but I'm having trouble. I've looked all over
>the place trying to find a solution, but I haven't found anything. I've
>been banging my head against the wall over this I am new to Emacs.
>
>On startup I get the following error:
>
>	An error has occurred while loading `/Users/rory/.emacs':
>
>	error: Package speedbar does not define speedbar-version
>
>	To ensure normal operation, you should investigate and remove the
>	cause of the error in your initialization file.  Start Emacs with
>	the `--debug-init' option to view a complete error backtrace.
>
>
>Emacs 22.0.50.1 (powerpc-apple-darwin8.1.0)
>JDE 2.3.5
>CEDET 1.0pre3
>
>This is the full output of startup:
>------START OF OUTPUT-----
>Loading byte-opt...done
>Loading cl-extra...done
>Loading regexp-opt...done
>Loading /Users/rory/.emacs.d/cedet/common/cedet.el (source)...
>"/Users/rory/.emacs.d/cedet/common/" added to `load-path'
>"/Users/rory/.emacs.d/cedet/cogre" added to `load-path'
>"/Users/rory/.emacs.d/cedet/ede" added to `load-path'
>"/Users/rory/.emacs.d/cedet/eieio" added to `load-path'
>"/Users/rory/.emacs.d/cedet/semantic" added to `load-path'
>"/Users/rory/.emacs.d/cedet/speedbar" added to `load-path'
>"/Users/rory/.emacs.d/cedet/contrib" added to `load-path'
>Setting up cedet...done
>Setting up cogre...done
>Setting up ede...done
>Setting up eieio...done
>Setting up semantic...
>Loading semantic-idle...done
>Setting up semantic...done
>Setting up speedbar...done
>Setting up cedet-contrib...done
>Loading /Users/rory/.emacs.d/cedet/common/cedet.el (source)...done
>Loading semantic-decorate-mode...done
>Loading senator...
>
>
>An error has occurred while loading `/Users/rory/.emacs':
>
>error: Package speedbar does not define speedbar-version
>
>To ensure normal operation, you should investigate and remove the
>cause of the error in your initialization file.  Start Emacs with
>the `--debug-init' option to view a complete error backtrace.
>
>Loading semantic-el...done
>Loading jit-lock...done
>Loading encoded-kb...done
>Loading semantic-edit...done
>Loading semanticdb-file...done
>
>------END OF OUTPUT----
>
>This is my ~/.emacs:
>-----START OF .emacs----
>(global-font-lock-mode t)
>
>;;; Add ~/.emacs.d/ to the load path
>(add-to-list 'load-path "/Users/rory/.emacs.d/")
>(add-to-list 'load-path "/Users/rory/.emacs.d/share/emacs/site-lisp/")
>
>
>;;; The functions I've written
>(load-file "~/.emacs.d/rmc-funcs.elc")
>
>
>(autoload 'css-mode "css-mode")
> (setq auto-mode-alist (cons '("\\.css\\'" . css-mode) auto-mode-alist))
>
>
>;;; SLIME stuff. See
>http://common-lisp.net/project/slime/doc/html/slime_7.html#SEC7, and the
>slime movie explaining it.
>(add-to-list 'load-path "/Users/rory/local/slime/")
>(require 'slime)
>(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
>(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))
>
>(setq inferior-lisp-program "/opt/local/bin/clisp"
>      lisp-indent-function 'common-lisp-indent-function
>      slime-complete-symbol-function 'slime-fuzzy-complete-symbol
>      common-lisp-hyperspec-root
>"file:///Users/rory/books/lisp/HyperSpec/"
>      slime-start-animation nil)
>(slime-setup)
>
>
>;;; Python mode
>(autoload 'python-mode "python-mode" "Python editing mode." t)
>;(require 'python)
>(setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist))
>(setq interpreter-mode-alist (cons '("python" . python-mode)
>interpreter-mode-alist))
>
>
>;; TRAMP mode. http://jeremy.zawodny.com/blog/archives/000983.html
>(require 'tramp)
>(setq tramp-default-method "ssh")
>;;(setq tramp-debug-buffer t)
>
>
>;;; Ansi-Colour mode. Makes the shell look proper.
>(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
>(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
>
>;;; HtmlModeDelux. http://www.emacswiki.org/cgi-bin/wiki/HtmlModeDeluxe
>;;************************************************************
>;; configure HTML editing
>;;************************************************************
>
>(require 'php-mode)
>
>;; configure css-mode
>(autoload 'css-mode "css-mode")
>(add-to-list 'auto-mode-alist '("\\.css\\'" . css-mode))
>(setq cssm-indent-function #'cssm-c-style-indenter)
>(setq cssm-indent-level '2)
>
>(add-hook 'php-mode-user-hook 'turn-on-font-lock)
>
>(require 'mmm-mode)
>(setq mmm-global-mode 'maybe)
>
>;; set up an mmm group for fancy html editing
>(mmm-add-group
>     'fancy-html
>     '(
>       (html-php-tagged
>	      :submode php-mode
>	      :face mmm-code-submode-face
>	      :front "<[?]php"
>	      :back "[?]>")
>       (html-css-attribute
>	      :submode css-mode
>	      :face mmm-declaration-submode-face
>	      :front "style=\""
>	      :back "\"")))
>
>;; What files to invoke the new html-mode for?
>(add-to-list 'auto-mode-alist '("\\.inc\\'" . html-mode))
>(add-to-list 'auto-mode-alist '("\\.phtml\\'" . html-mode))
>(add-to-list 'auto-mode-alist '("\\.php[34]?\\'" . html-mode))
>(add-to-list 'auto-mode-alist '("\\.[sj]?html?\\'" . html-mode))
>(add-to-list 'auto-mode-alist '("\\.jsp\\'" . html-mode))
>
>;; What features should be turned on in this html-mode?
>(add-to-list 'mmm-mode-ext-classes-alist '(html-mode nil html-js))
>(add-to-list 'mmm-mode-ext-classes-alist '(html-mode nil embedded-css))
>(add-to-list 'mmm-mode-ext-classes-alist '(html-mode nil fancy-html))
>
>;; Not exactly related to editing HTML: enable editing help with mouse-3
>in all sgml files
>(defun go-bind-markup-menu-to-mouse3 ()
>  (define-key sgml-mode-map [(down-mouse-3)] 'sgml-tags-menu))
>(add-hook 'sgml-mode-hook 'go-bind-markup-menu-to-mouse3)
>
>
>
>;;; CEDET Stuff.
>;; Load ELib
>(setq load-path (append (list
>"/Users/rory/.emacs.d/share/emacs/site-lisp/elib") load-path))
>
>;; Load CEDET
>
>(load-file "~/.emacs.d/cedet/common/cedet.el")
>
>;; Enabling various SEMANTIC minor modes.  See semantic/INSTALL for more
>ideas.
>;; Select one of the following
>(semantic-load-enable-code-helpers)
>;; (semantic-load-enable-guady-code-helpers)
>;; (semantic-load-enable-excessive-code-helpers)
>
>;; Enable this if you develop in semantic, or develop grammars
>;; (semantic-load-enable-semantic-debugging-helpers)
>
>;;; JDEE stuff. From: http://jdee.sunsite.dk/install.html
>(add-to-list 'load-path (expand-file-name "~/.emacs.d/jde/lisp"))
>(add-to-list 'load-path (expand-file-name "~/.emacs.d/cedet/common"))
>(load-file (expand-file-name "~/.emacs.d/cedet/common/cedet.elc"))
>(add-to-list 'load-path (expand-file-name "~/.emacs.d/elib"))
>
>(require 'jde)
>-----END OF .emacs----
>
>
>Can anyone help?
>
>
>Rory McCann
>

Jim Cox | 25 Oct 19:39 2005
Picon

JDEE Ant Task

I've written an Ant Task to generate a JDEE project file.  If you use Ant as your build tool, and you find yourself setting the jde-compile-option-sourcepath for every new project that has an existing build.xml file, this task is probably for you. 

The source, jar, and documentation are available at:

http://mysite.verizon.net/vze22s4q/jdee-ant/jdee-ant.html

Enjoy!


Gmane