Re: exec: redirect to property and standard output

2007-10-14 Thread Kees van Dieren
Thanks! This solved my problem. Best Regards, Kees van Dieren On 10/9/07, Matt Benson <[EMAIL PROTECTED]> wrote: > > > --- Kees van Dieren <[EMAIL PROTECTED]> wrote: > > > Is this really not possible? > > > > Completely possible, actually. Check out I/O > redirectors and their 'alwayslog' attri

Re: exec: redirect to property and standard output

2007-10-09 Thread Matt Benson
--- 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

Re: exec: redirect to property and standard output

2007-10-09 Thread Kees van Dieren
Is this really not possible? 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

exec: redirect to property and standard output

2007-10-04 Thread Kees van Dieren
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