Ant build fails on cygwin
Brought to you by:
paullandes
branches/2.4.0, r211
When compiling from a bash shell in cygwin on windows, "ant build" fails in the configure-ebuild target. This element
<exec outputproperty="build.lisp.is-xemacs"
executable="${build.bin.emacs}" failonerror="true">
<arg value="--no-site-file"/>
<arg value="--batch"/>
<arg value="--eval"/>
<arg value="(message "%S" (if (featurep 'xemacs) 'true 'false))"/>
</exec>
produces an error because the quotes are not sufficiently quoted. Adding a backslash before both " fixes the problem, but probably breaks the build on other OS.
Indeed, that does not work on linux - will think of something else...