--- John
From: Brian Rumple [mailto:[EMAIL PROTECTED]
Sent: 17 August 2004 18:37
To: John Cooper; [EMAIL PROTECTED]
Subject: RE: Problem with jde-ant-build
===================================================================
RCS file: /pack/anoncvs/jde/lisp/jde-ant.el,v
retrieving revision 1.72
diff -r1.72 jde-ant.el
246c246
< (setq buildfile jde-ant-buildfile))
---
> (setq buildfile (jde-normalize-path jde-ant-buildfile)))
From: John Cooper [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 17, 2004 12:38 PM
To: '[EMAIL PROTECTED]'
Subject: Problem with jde-ant-build
[I'm using jde 2.3.4beta5]
jde-ant-build fails for me, with the following error:
cd h:/elisp/jde-2.3.4beta5/lisp/
ant -Dant.home=c:/javabld/ant -buildfile 'c:/javabld/build.xml'
-emacs -Dbuild.compiler.emacs=true clean
Buildfile: 'c:\javabld\build.xml' does not exist!
Build failed
Compilation finished at Tue Aug 17 17:33:18
I have jde-ant-invocation-method set to the default value
("Script").
To get it working, I had to remove the use
of `delimiter' in the following section of jde-build-ant-command:
(if (not (string= buildfile ""))
(setq ant-command
(concat ant-command
" -buildfile " delimiter
(jde-normalize-path buildfile)
delimiter)))
I use cygwin zsh as my cmd line shell (Windows XP), and passing the single quotes to ant also cause the same error:
$ ant -Dant.home=c:/javabld/ant -buildfile
\'c:/javabld/build.xml\' -emacs -Dbuild.compiler.emacs=true clean
Buildfile: 'c:\javabld\build.xml' does not exist!
Build failed
I also have the following set in my .emacs:
explicit-sh-args nil
shell-execute-helper "shelex.exe"
shell-file-name "cmdproxy"
Should delimer be removed from here, or are there some circumstances where it is required?
--- John
