--- Kees van Dieren <[EMAIL PROTECTED]> wrote: > Is this really not possible? >
Completely possible, actually. Check out I/O redirectors and their 'alwayslog' attribute. -Matt > On 10/4/07, Kees van Dieren > <[EMAIL PROTECTED]> wrote: > > > > 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 > > > > > -- > 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 > ____________________________________________________________________________________ Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos. http://autos.yahoo.com/index.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]