Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#16 Ant build fails on cygwin

open
nobody
Ant (4)
5
2014-08-14
2010-03-04
Anonymous
No

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 &quot;%S&quot; (if (featurep 'xemacs) 'true 'false))"/>
</exec>

produces an error because the quotes are not sufficiently quoted. Adding a backslash before both &quot fixes the problem, but probably breaks the build on other OS.

Discussion

  • Len Trigg
    Len Trigg
    2010-03-17

    Indeed, that does not work on linux - will think of something else...