From user-return-59754-apmail-ant-user-archive=ant.apache.org@ant.apache.org Mon Feb 12 18:45:57 2007 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 72206 invoked from network); 12 Feb 2007 18:45:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2007 18:45:57 -0000 Received: (qmail 19247 invoked by uid 500); 12 Feb 2007 18:46:00 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 19206 invoked by uid 500); 12 Feb 2007 18:45:59 -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 19192 invoked by uid 99); 12 Feb 2007 18:45:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 10:45:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of Robert.Clark@quest.com designates 12.106.87.70 as permitted sender) Received: from [12.106.87.70] (HELO irvbhxw03.quest.com) (12.106.87.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 10:45:48 -0800 thread-index: AcdO1fS+WqlhqMZYQVe2zHKibBKVpg== Received: from tormbxw01.prod.quest.corp ([10.4.100.91]) by irvbhxw03.quest.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 12 Feb 2007 10:45:24 -0800 Received: from tor106065.prod.quest.corp ([10.4.114.58]) by tormbxw01.prod.quest.corp with Microsoft SMTPSVC(6.0.3790.1830); Mon, 12 Feb 2007 13:45:22 -0500 From: "Robert Clark" Organization: Quest Software Inc. To: Subject: Re: ant run command piping and get out put to value Date: Mon, 12 Feb 2007 13:45:22 -0500 User-Agent: KMail/1.9.6 References: <384845.78032.qm@web8511.mail.in.yahoo.com> <45D01E99.7090308@volantis.com> In-Reply-To: Content-Class: urn:content-classes:message X-Face: @wf=R>`Gp1sqW"$*(jmq~x\Y:on!638~obu4W34T^iIADeQK]WA}}rUgp4Ih&a3^:<~P&$|P|2"Ad=8J_<=?utf-8?q?s5=23x5v7QZ=24Pn67lUsJSsDyIF=7C=23=3A9Cy=23D=0A=09i=3F=7E=5D?= =?utf-8?q?=7BX=3Ama68Crle=7BV=2EREz?="twUaW>&^Y.qHk1\)8i[n/[#/~oi$,g(:/)gt6" =?utf-8?q?Fm=5EGW!BBsD=0A=09+RP?="I3Xb~I6OH#&2^==29GQ~5UAfE._cNv.V4{qdw2uBp Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200702121345.22156.robert.clark@quest.com> X-OriginalArrivalTime: 12 Feb 2007 18:45:22.0911 (UTC) FILETIME=[F3D40EF0:01C74ED5] X-Virus-Checked: Checked by ClamAV on apache.org On Monday February 12, 2007, "Peter Reilly" wrote: > On 2/12/07, James Abley wrote: > > Probably something like: > > > > > > > > > > > > > > > > or: > > > > > (note: in the second example, one does not need to use > single quotes, also this will probably not work in windows with > cygwin). In this specific case, a redirector on the exec task with an output filter will duplicate the behaviour of piping through grep and has the benefit of being cross-platform. Something like: - Rob --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org