ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: cvs commit: ant/src/etc/testcases/taskdefs/exec exec.xml
Date Mon, 25 Apr 2005 15:04:00 GMT
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> 
> 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.

You're right of course. I see it now. The whole command is a single arg
of the outer shell command. Sorry for the noise. --DD

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


Mime
View raw message