Hello,

There appears to be a bug in the use of jde-expand-classpath-p and the bsh. With this directory structure,

root
  prj.el      (defines jde-global-classpath)
  subdir
     prj.el   (inherits jde-global-classpath)

the classpath that is passed to the bsh expands jde-global-classpath with respect to subdir, not root. As a result, directories this jar files are passed in as the directory, not the set of jars in the directory.

The patch below resolves this problem for me. It won't do the right thing if the classpath is being set from something other than jde-global-classpath (e.g., if it's set from CLASSPATH).

*** jde.el.~1.357.~     Thu Dec 23 18:42:48 2004
--- jde.el      Tue Aug 30 16:55:30 2005
***************
*** 2372,2378 ****
  environment variable."
    (let* ((directory-sep-char ?/)  ;; Override NT/XEmacs setting
         (classpath
!             (jde-build-path-arg nil (jde-get-global-classpath) t)))
      (format "jde.util.JdeUtilities.setProjectValues(\"%s\", %s);"
            jde-current-project
            classpath)))
--- 2372,2379 ----
  environment variable."
    (let* ((directory-sep-char ?/)  ;; Override NT/XEmacs setting
         (classpath
!             (jde-build-path-arg nil (jde-get-global-classpath)
!                                 t 'jde-global-classpath)))
      (format "jde.util.JdeUtilities.setProjectValues(\"%s\", %s);"
            jde-current-project
            classpath)))
----------------------------------------
Troy Daniels
[EMAIL PROTECTED]
781-273-3388 x218

Reply via email to