Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 52420 invoked from network); 9 Oct 2007 19:53:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2007 19:53:26 -0000 Received: (qmail 76981 invoked by uid 500); 9 Oct 2007 19:53:09 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 76955 invoked by uid 500); 9 Oct 2007 19:53:09 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 76944 invoked by uid 99); 9 Oct 2007 19:53:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 12:53:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.58.156] (HELO web55107.mail.re4.yahoo.com) (206.190.58.156) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 09 Oct 2007 19:53:10 +0000 Received: (qmail 67951 invoked by uid 60001); 9 Oct 2007 19:51:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=rGrd//BeZhG/7Bgk0LBLj0kC9it33Y5MRn2HYAFanE1Out9iLM+7NnFgoHQbPPMxaVEnQZvrXoxCYIOvtYdGd4cd+u0dBh60LUAsG9PNzWaN8cHe8zaDjAoxNgE2aUWTM2qvBys+Ep3L7RU8YTzPYipsJ3RWimuAfHjFUm8E4Pk=; X-YMail-OSG: HMRUxTwVM1nXKbe0xrJpP2baM4X8sFj1FLU5hpPo3HELeChxsznKrfQphz4Kq_aTI5U9e9q6gACoRIPLSU_bPI.J2qbcmxEMupiFlgD4nc9Cv.9V7bI802ivkM1xZQ-- Received: from [66.10.233.130] by web55107.mail.re4.yahoo.com via HTTP; Tue, 09 Oct 2007 12:51:49 PDT Date: Tue, 9 Oct 2007 12:51:49 -0700 (PDT) From: Matt Benson Subject: Re: exec: redirect to property and standard output To: Ant Users List In-Reply-To: <13bb64e70710090219xeb4c2b0y4b7102a59491ba6c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <80375.65911.qm@web55107.mail.re4.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --- Kees van Dieren 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 > 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