Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 23569 invoked from network); 12 Oct 2006 05:17:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Oct 2006 05:17:14 -0000 Received: (qmail 56881 invoked by uid 500); 12 Oct 2006 05:17:13 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 55884 invoked by uid 500); 12 Oct 2006 05:17:10 -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 55867 invoked by uid 99); 12 Oct 2006 05:17:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Oct 2006 22:17:10 -0700 X-ASF-Spam-Status: No, hits=4.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.191.69.60] (HELO web30213.mail.mud.yahoo.com) (209.191.69.60) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 11 Oct 2006 22:17:06 -0700 Received: (qmail 48966 invoked by uid 60001); 12 Oct 2006 05:16:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=fLihctXAINwSMJJ7Uel4Bv5lqAjMb7eyNd98dplMBZ3vk3/rnprRMYDqEBSy4MeaTDqLBYm/AkDyk61P5QLg5f68V10DF2JOOUK1ZYXVkGayhkvDQghegsjppnShAYT493HQGyMUrJq0FXIIGpkfHkWPaIhDRdTOkV6MMBKN0io= ; Message-ID: <20061012051645.48964.qmail@web30213.mail.mud.yahoo.com> Received: from [12.158.20.82] by web30213.mail.mud.yahoo.com via HTTP; Wed, 11 Oct 2006 22:16:45 PDT Date: Wed, 11 Oct 2006 22:16:45 -0700 (PDT) From: Ninju Bohra Subject: Re: Quiet output To: Ant Users List MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1654674719-1160630205=:48155" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-1654674719-1160630205=:48155 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable You might want to look at the -emacs command line option to surpress the 'p= refixing' that appears on the output=0A=0A----- Original Message ----=0AFro= m: Iv=E1n P=E9rez Dom=EDnguez =0ATo: user@ant= .apache.org=0ASent: Wednesday, October 11, 2006 2:54:30 PM=0ASubject: Quiet= output=0A=0A=0AI'm writing a build.xml file that tests a program. Before u= sing ANT,=0AI had a bash script that printed the results like init.d script= s do when=0Astarted/stopped. For instance, for an input file to be tested, = called=0Amtp.mtp, it printed something like=0A=0Amtp.mtp = [OK]=0A=0Aif everything went ok, and=0A=0Amtp.mtp= [!!]=0A=0Aif something went wr= ong. In both cases, the real output was saved in a=0Alog file.=0A=0ANow I'm= using ANT, I'd like it to be the same way, but the output=0Ahappens to be = way too verbose unless ANT is called with -quiet. Is there=0Aany way to for= ce this quiet flag, or to hide the commands output?=0A=0AI don't like ANT t= o prefix the output with the command that produced it=0Aeither. For instanc= e, if I write=0A=0AMessage=0A=0Aant prints something like=0A= =0A[echo] Message=0A=0AIs there any way to hide that too?=0A=0ACheers.=0A= =0A --0-1654674719-1160630205=:48155--