ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: Execution of windows command in ant's build.xml
Date Wed, 18 Jul 2007 21:58:51 GMT
On 7/18/07, Alec Fernandez <Alec.Fernandez@sas.com> wrote:
> Excellent clarifications gentleman, many thanks.
>
> You got me curious so I dug up a working example of quoting that I use.
>
> Try as I may, I can't seem to escape from the msdos command line processor.  Bill's 
enduring gift to humanity.

At least for an interactive DOS session, the escape character is ^,
which I use for example to write at the DOS prompt: grep -r ClassName
--include=^*.cpp


>                   <!-- this doesn't seem to work on unix after all
>                   <arg value="@{cmd.line} &gt; ${logfile.fqp} 2&gt;&amp;1"/>
-->

You'd need to use <arg line="">, not <arg value="">. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message