ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zsolt Koppany <zkoppanyl...@intland.com>
Subject RE: How to get the message the started program wrote to the error stream?
Date Fri, 29 Aug 2003 16:55:03 GMT
Thank you Jan,

but I forgot to write that "ant" is not started (executed) from my
application but the application uses the ant API.

Zsolt


On Fri, 2003-08-29 at 18:47, Jan.Materne@rzf.fin-nrw.de wrote:
> <exec errorproperty/error resultproperty/>
> 
> error 
> The file to which the standard error of the command should be redirected.  
> 
> errorproperty 
> The name of a property in which the standard error of the command should be
> stored. 
> 
> 
> Jan
> 
> 
> > -----Original Message-----
> > From: Zsolt Koppany [mailto:zkoppanylist@intland.com]
> > Sent: Friday, August 29, 2003 6:43 PM
> > To: user@ant.apache.org
> > Subject: How to get the message the started program wrote to the error
> > stream?
> > 
> > 
> > Hi,
> > 
> > I'm sorry if it has been asked several times but I did try to find the
> > answer to my question but found nothing.
> > 
> > My problem is that I start a program the produces an exit 
> > code 1 (Linux)
> > and I would like to get the error message the program wrote 
> > to the error
> > stream.
> > 
> > How can I do that?
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > 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