ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morten Mortensen <morten.morten...@tietoenator.com>
Subject RE: Very bad performance when I redirect the output of a command
Date Mon, 25 Aug 2003 09:33:19 GMT

Hi all,

..You mean "output", not "outfile"? Am I missing something?

I experience *other* kind-of-related problems with the "exec" task and the
"output"-attribute - it very much appears as if the output does not get
flushed properly. This is with 1.5.3, 1.6 (and JDK 1.4.1 and 1.4.2 on
Windows). In some specific setups of mine, I always get the first ~6 kb
output only.

The "exec" task has some kind of a flaw in it, I believe.

Regards,
  Morten Sabroe Mortensen


-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
Sent: 25. august 2003 10:24
To: user@ant.apache.org
Subject: RE: Very bad performance when I redirect the output of a
command


Can you try the same but without redirect?
   <exec command="cvs log -l ${package}" />

So we know where the break is
- using the Redirector
- doing the exec
- outside of Ant


Jan


> -----Original Message-----
> From: Zsolt Koppany [mailto:zkoppanylist@intland.com]
> Sent: Monday, August 25, 2003 8:10 AM
> To: user@ant.apache.org
> Subject: Very bad performance when I redirect the output of a command
> 
> 
> Hi,
> 
> from an "ant" script when I execute a command with redirected 
> output it
> takes 9 sec. to execute a command what I can execute in 0.1 sec (10
> times faster) from the console. I have even time to see how 
> the size of
> the output file increases with repeated "ls -l filename" in an other
> window.  What is the reason? How can I fix that?
> 
> I use ant-1.5.4 with jdk1.4.1_04 Sun on Redhat-9.
> 
> Example:
> <exec command="cvs log -l ${package}" outfile="${outputfile}" />
> 
> First I tried the <cvs command="log" ... and that does have the same
> problem.
> 
> Zsolt
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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


Mime
View raw message