Re: jde-ant-build's seperator problem
Phuah Yee Keat <[email protected]> Mon, 27 Aug 2007 03:24:39 +0000 (UTC)
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
Hi, Paul Kinnucan <paulk <at> mathworks.com> writes: > > zhangyin <at> ZHANGYIN_LAPTOP.i-did-not-set--mail-host-address--so-tickle-me writes: > > > > I'm using nqmacs+jdee2.3.5 on winxp without cygwin. When I use > > jde-ant-build, I encounter the compilation buffer that say > > "...build.xml does not exist". After I traced jde-ant.el. I found the > > problem that file seperator should be " ,not '. > > The single quote works for me with nqmacs on Windows XP: > > -*- mode: compilation; default-directory: "~/jde-dev/jmath/src/jmath/" -*- > ant -Dant.home=c:/java/apache-ant-1.6.2 -buildfile 'c:/home/jde-dev/jmath/build.xml' -emacs > clean > Buildfile: c:\home\jde-dev\jmath\build.xml > > clean: > Deleting directory C:\home\jde-dev\jmath\classes > > BUILD SUCCESSFUL > Total time: 0 seconds I think this have to do with the shell that you are using. If I have shell-file-name set to bash.exe (from cygwin), the single quotes worked fine. But if I have shell-file-name set to the default cmdproxy.exe, I get the same complain as ZhangYin. You should be able to reproduce the error by running cmd.exe and keying in the exact ant command line there, eg. ant -Dant.home=c:/java/apache-ant-1.6.2 -buildfile 'c:/home/jde-dev/jmath/build.xml' -emacs clean Is there any particular reason that single quotes are used? Since I thought double quotes are usually universal. Cheers, Phuah Yee Keat