ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: cvs commit: ant/src/etc/testcases/taskdefs/exec exec.xml
Date Mon, 25 Apr 2005 14:53:30 GMT
On Mon, 25 Apr 2005, Dominique Devienne <DDevienne@lgc.com> wrote:
>> From: Steve Loughran [mailto:stevel@apache.org]
>> >   -      <exec executable="time"
>> >   +      <exec executable="cmd.exe"
>> >            failonerror="true"
>> >            osFamily="winnt">
>> >   -        <arg value="/t" />
>> >   +        <arg value="/c" />
>> >   +        <arg value="time /t" />
>> >          </exec>
>> >        </target>
> 
> Unless the context is wrong on the diff above, I would think
> value="time /t" is wrong, and should be either line="time /t" or 2
> <arg value>, no?

Knowing nothing about cmd, for Unix and sh, value="time /t" would be
correct - since the (single) argument after sh -c is the command line
to run.

Stefan

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


Mime
View raw message