Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD34CD70 for ; Wed, 20 Apr 2011 05:12:36 +0000 (UTC) Received: (qmail 24662 invoked by uid 500); 20 Apr 2011 05:12:36 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 24512 invoked by uid 500); 20 Apr 2011 05:12:36 -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 24502 invoked by uid 99); 20 Apr 2011 05:12:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 05:12:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ext-simon.steiner@nokia.com designates 147.243.1.48 as permitted sender) Received: from [147.243.1.48] (HELO mgw-sa02.nokia.com) (147.243.1.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 05:12:26 +0000 Received: from vaebh104.NOE.Nokia.com (vaebh104.europe.nokia.com [10.160.244.30]) by mgw-sa02.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p3K5C341009148 for ; Wed, 20 Apr 2011 08:12:04 +0300 Received: from smtp.mgd.nokia.com ([65.54.30.8]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 20 Apr 2011 08:11:51 +0300 Received: from 008-AM1MMR1-001.mgdnok.nokia.com (65.54.30.56) by NOK-AM1MHUB-04.mgdnok.nokia.com (65.54.30.8) with Microsoft SMTP Server (TLS) id 8.2.255.0; Wed, 20 Apr 2011 07:11:51 +0200 Received: from 008-AM1MPN1-004.mgdnok.nokia.com ([169.254.5.75]) by 008-AM1MMR1-001.mgdnok.nokia.com ([65.54.30.56]) with mapi id 14.01.0289.008; Wed, 20 Apr 2011 07:11:50 +0200 From: To: Subject: RE: ant -v Thread-Topic: ant -v Thread-Index: Acv+pnsZ7lMUQCMdSr2wCPjjhZQdCAACphkAABoI4KA= Date: Wed, 20 Apr 2011 05:11:50 +0000 Message-ID: References: <20110419184440.GB3664@Dago> In-Reply-To: <20110419184440.GB3664@Dago> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [94.193.21.67] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 20 Apr 2011 05:11:51.0651 (UTC) FILETIME=[753EDB30:01CBFF19] X-Nokia-AV: Clean Hi, If I call 1, why is it printing info about 2 by default, how does 2 affect = 1?: ant 1 -v Complete build sequence is [1, 2, ] Thanks -----Original Message----- From: ext Michael Ludwig [mailto:milu71@gmx.de]=20 Sent: 19 April 2011 19:45 To: Ant Users List Subject: Re: ant -v ext-simon.steiner@nokia.com schrieb am 19.04.2011 um 15:29 (+0000): > Hi, >=20 > If I run ant -v it prints every target defined which is massive, can I=20 > hide that in verbose mode? >=20 > Complete build sequence is [...] The build sequence is part of both -v and -d, the latter being more verbose= than the former. You can try other loggers and even build your custom logger and instruct An= t to use it by supplying the -logger command line option. http://ant.apache.org/manual/listeners.html You can set such options via the ANT_ARGS environment variable. First I thought, strange, there is no config file. But I researched this to= pic, and turns out there is. On POSIX, you can set ANT_ARGS in ~/.antrc so it'll be sourced automaticall= y by the Ant launcher scripts. On Windows, it is a bit more complicated: you need two files in order not t= o pollute the environment: :: type C:\Users\MiLu\antrc_pre.bat set ANT_ARGS=3D-logger mein.phantastischer.Logger :: type C:\Users\MiLu\antrc_post.bat set ANT_ARGS=3D Also, see this thread: AW: antrc & ant.conf files http://marc.info/?l=3Dant-user&m=3D121117919227180&w=3D2 -- Michael Ludwig --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional comm= ands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org