ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kees van Dieren" <keesvandie...@gmail.com>
Subject exec: redirect to property and standard output
Date Thu, 04 Oct 2007 08:09:41 GMT
Hi,

Is it possible with the exec task to redirect output to both standard output
and a property?

Why do I need this?

We call maven from ant. Maven does not return exit code -1 when it fails. So
afterwards, we check with fail and contains, if it contains [error].
However, this maven process takes about two minutes to run, and it would be
nice to see progress of execution in the console.

Is this possible?

Thanks in advance!

Best regards,

-- 
Kees van Dieren
Oranjestraat 23
2983 HL Ridderkerk
Phone: +31 180 41 45 20
Cell: +31 6 30 41 38 41
www: keesvandieren.nl
LinkedIn:www.linkedin.com/in/keesvandieren
Hyves:keesvandieren.hyves.net

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message