Hallo,
this looks like the problems i had with cygwin and the beanshell.
the beanshell does not like single backslashes in filenames :-).
A quick fix that works for me is (in function
jde-cygwin-path-converter-internal):
--- orig/jde-2.2.9beta7/lisp/jde.el Thu Nov 29 11:47:58 2001
+++ jde-2.2.9beta7/lisp/jde.el Thu Dec 20 11:29:48 2001
@@ -1251,7 +1251,7 @@
unless they begin with '//[a-z]/' or '/cygdrive/[a-z]/'."
(interactive "sPath: ")
(if (fboundp 'mswindows-cygwin-to-win32-path)
- (mswindows-cygwin-to-win32-path path)
+ (substitute ?\/ ?\\ (mswindows-cygwin-to-win32-path path))
(let* ((path-re "/\\(cygdrive\\)?/\\([a-zA-Z]\\)/")
(subexpr 2)
(index1 (* 2 subexpr))
Ole
Le Wang wrote:
> Hi,
>
> I'm having trouble compiling thru the compile server under
cygwin. It works
> fine under Solaris. Here is the error I'm getting: (from the
interpreter
> buffer)
>
> ---------------------------------------------
> cd /home/common/source/java/
> c:/j2sdk1.4.0-beta3/bin/java -classpath
>
C:\cygwin\home\common\.emacs_stuff\lisp\xemacs\packages\jdee\java\bsh-comman
>
ds;c:/j2sdk1.4.0-beta3/lib/tools.jar;C:\cygwin\home\common\source\java\lib\a
>
nt.jar;C:\cygwin\home\common\.emacs_stuff\lisp\xemacs\packages\jdee\java\lib
>
\jde.jar;C:\cygwin\home\common\.emacs_stuff\lisp\xemacs\packages\jdee\java\l
> ib\bsh.jar bsh.Interpreter
>
> BeanShell 1.1a16 - by Pat Niemeyer ([EMAIL PROTECTED])
> bsh % // Error: Parser Error: Encountered "ome" at line 1, column 38.
>
> bsh % // Error: Error parsing input: bsh.TokenMgrError: Lexical
error at
> line 1, column 6. Encountered: "\\" (92), after : ""
> bsh % // Error: Error parsing input: bsh.TokenMgrError: Lexical
error at
> line 1, column 10. Encountered: "\\" (92), after : ""
> bsh % // Error: Parser Error: Encountered "ava" at line 1, column 9.
>
> bsh %
>
> -----------------------------------------
>
> I think this might have something to do with banshell (or maybe
the windows
> shell) escaping characters or some crazy stuff like that. Is
there anyway I
> can take a look at the actual raw message that JDE sends beanshell?
>
> thanks
> -lw
>
>
>
--
Ole Arndt http://www.tivano.de/
If Bill Gates had a nickel for every time Windows crashed...
Oh wait! He does!