Package: jde
Version: 2.3.5-1
Followup-For: Bug #234416

I think there is a bug in (jde-find-jde-data-directory) which results in
these pathnames being wrong:  it checks for xemacs, but then always
returns (jre-root) anyway because the last (jre-root) is not in the
"else" branch of the "(if (featurep 'xemacs)".  Fixed by moving a ')'
around (see attached patch).

This makes jde find the .jar files from xemacs21-basesupport.

Finding a class definition is still broken for me though, as now it
tries to call (jde-open-get-path-prefix-list) which is not defined
anywhere.

Somehow this whole jde mess makes me wanting to try eclipse again...

</nk>


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages jde depends on:
ii  bsh                          2.0b4-1     Java scripting environment (BeanSh
ii  eieio                        1:1.0pre3-1 Enhanced Implementation of Emacs I
ii  elib                         1.0-11      Library of commonly-used Emacs fun
ii  java-common                  0.23        Base of all Java packages
ii  semantic                     1:1.0pre3-1 Parser Infrastructure for Emacsen
ii  speedbar                     1:1.0pre3-1 Everything browser, or Dired on st
ii  sun-j2sdk1.4 [java-common]   1.4.2+09    Java(TM) 2 SDK, Standard Edition, 
ii  sun-j2sdk1.5 [java-common]   1.5.0+01    Java(TM) 2 SDK, Standard Edition, 
ii  xemacs21                     21.4.17-2   highly customizable text editor
ii  xemacs21-gnome-nomule [xemac 21.4.17-2   highly customizable text editor --
ii  xemacs21-mule [xemacs21]     21.4.17-2   highly customizable text editor --
ii  xemacs21-nomule [xemacs21]   21.4.17-2   highly customizable text editor --

Versions of packages jde recommends:
ii  ecb                2.27-2                Code browser for several languages
ii  eclipse-ecj [java- 3.1-10                Eclipse Java compiler and Ant plug
ii  eclipse-ecj-gcj [j 3.1-10                Native version of the Eclipse Java
ii  gcj [java-compiler 4:4.0.1-3             The GNU Java compiler
ii  gcj-4.0 [java-comp 4.0.1-7               The GNU compiler for Java(TM)
ii  gij [java-virtual- 4:4.0.1-3             The GNU Java bytecode interpreter
ii  gij-4.0 [java-virt 4.0.1-7               The GNU Java bytecode interpreter
ii  kaffe-jthreads [ja 2:1.1.5-cvs20050808-2 A green threads enabled version of
ii  kaffe-pthreads [ja 2:1.1.5-cvs20050808-2 A POSIX threads enabled version of
ii  sun-j2sdk1.4 [java 1.4.2+09              Java(TM) 2 SDK, Standard Edition, 
ii  sun-j2sdk1.4debian 0.18                  Debian specific parts of Java(TM) 
ii  sun-j2sdk1.5 [java 1.5.0+01              Java(TM) 2 SDK, Standard Edition, 
ii  sun-j2sdk1.5debian 0.18                  Debian specific parts of Java(TM) 

-- no debconf information
--- jde-util.el.orig    2005-09-14 17:31:20.000000000 -0700
+++ jde-util.el 2005-09-14 17:27:07.000000000 -0700
@@ -241,8 +241,8 @@
   (let ((directory-sep-char ?/))
     (if (featurep 'xemacs)
        (let ((dir (locate-data-directory "jde")))
-         (if dir dir (jde-root))))
-        (jde-root)))
+         (if dir dir (jde-root)))
+      (jde-root))))
 
 (defun jde-temp-directory ()
 "Get the location used by the host system to store temporary files."

Reply via email to