ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kees van Dieren" <keesvandie...@gmail.com>
Subject Re: exec: redirect to property and standard output
Date Mon, 15 Oct 2007 06:20:22 GMT
Thanks! This solved my problem.

Best Regards,

Kees van Dieren

On 10/9/07, Matt Benson <gudnabrsam@yahoo.com> wrote:
>
>
> --- Kees van Dieren <keesvandieren@gmail.com> 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
> > <keesvandieren@gmail.com> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
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