On Tue, Mar 17, 2009 at 01:20:01PM +0000, Henry S. Thompson wrote:

> And I now suspect the problem here is indeed the result of an
> xemacs/emacs difference.  The key function,
> jde-cygwin-path-converter-internal, does the wrong thing if 
>  a) the builtin function mswindows-cygwin-to-win32-path is not present, and
>  b) your jde-global-classpath is a single string which includes more
>     than one directory
> 
> I'm _guessing_ mswindows-cygwin-to-win32-path is not present in your
> emacs. . .

It isn't, I just checked. I found out when it was added to xemacs, which
was way back in 2001:
http://www.cygwin.com/ml/cygwin/2001-10/msg01547.html (or at least
that's when it was "fixed", so it must have been present even longer
than that).

> _If_ this is one part of the problem, the workaround may be to split
> your global classpath yourself and make it less indirect, i.e. make it
> 
>  ("/cygdrive/?/src/learn-jdee/."
>   "/cygdrive/c/Programme/Java/jre1.5.0_12/lib/ext/QTJava.zip")

I tried that and now see
  Process bsh killed
  cd /home/gary/src/learn-jdee/src/
  /cygdrive/c/Programme/Develop/Java/1.5se/bin/java -classpath 
/usr/share/emacs/site-lisp/jde/java/lib/bsh.jar;/usr/share/emacs/site-lisp/jde/java/bsh-commands;/usr/share/emacs/site-lisp/jde/java/lib/checkstyle-all.jar;/usr/share/emacs/site-lisp/jde/java/lib/jakarta-regexp.jar;/usr/share/emacs/site-lisp/jde/java/lib/jde.jar;c:\Programme\Develop\Java\1.5se\lib\tools.jar;/home/gary/src/learn-jdee
 bsh.Interpreter

  java.lang.NoClassDefFoundError: bsh/Interpreter
  (etc.)

Basically, my own classpath is now missing completely. What I did was insert
(jde-set-variables
 '(jde-jdk-registry (quote (("1.4.2" . "/c/Programme/j2sdk1.4.2")
                            ("1.5.0" . 
"/cygdrive/c/Programme/Develop/Java/1.5se"))))
 '(jde-global-classpath 
(quote(".:/cygdrive/c/Programme/Java/jre1.5.0_12/lib/ext/QTJava.zip")))
 '(jde-global-classpath(quote(".")
                        
quote("/cygdrive/c/Programme/Java/jre1.5.0_12/lib/ext/QTJava.zip")))
 '(jde-jdk (quote ("1.5.0")))
)

into my prj.el. Is the usage of "quote" not the right thing to do
(sorry, am not a lisp guy by any stretch of the imagination)? Without it
jdee doesn't work at all.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to