Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 3020 invoked from network); 6 Nov 2007 12:09:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2007 12:09:23 -0000 Received: (qmail 17581 invoked by uid 500); 6 Nov 2007 12:09:04 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 17206 invoked by uid 500); 6 Nov 2007 12:09:03 -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 17195 invoked by uid 99); 6 Nov 2007 12:09:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 04:09:03 -0800 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.6.10.60] (HELO tobor.hpl.hp.com) (192.6.10.60) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 12:09:33 +0000 Received: from localhost (localhost [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id 5D7CDB7B28 for ; Tue, 6 Nov 2007 12:08:42 +0000 (GMT) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kJ6+wz8RXdWE for ; Tue, 6 Nov 2007 12:08:40 +0000 (GMT) Received: from ha-node-br3.hpl.hp.com (ha-node-br3.hpl.hp.com [16.25.144.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tobor.hpl.hp.com (Postfix) with ESMTPS id 36BCFB7B27 for ; Tue, 6 Nov 2007 12:08:40 +0000 (GMT) Received: from [16.25.171.118] (morzine.hpl.hp.com [16.25.171.118]) by ha-node-br3.hpl.hp.com (8.14.1/8.13.4) with ESMTP id lA6C8RM0028195 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Nov 2007 12:08:28 GMT Message-ID: <4730593A.3050809@apache.org> Date: Tue, 06 Nov 2007 12:08:26 +0000 From: Steve Loughran User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Ant Users List Subject: Re: Headless Ant: problems with loggers and listeners References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org Gabriele Bodda wrote: > Hi, I've found one more element. > > I got exactly the same error if I launch Ant through Eclipse with ANY > listener, even with "-listener org.apache.tools.ant.XmlLogger" that happens > to be cited even in the Ant manual. > > To be more precise: it seems like the parameter -listener doesn't work when > you launch Ant from INSIDE Eclipse (Run -> Ant Build...) or as an Eclipse > application (at the end, it should be the same...) > > So, it isn't directly related to CC (if I run "ant" from the command line it > works fine even with all the CC listeners and loggers), but I need it fixed > if I want to use CC with my build script... Any ideas? It seems really > strange to me that you can't use the -listener parameter when you run a > build inside eclipse! > > Thanks, > Gab this isnt that strange, its the same for all the IDES. Ants listener/logger /input services are there to glue ant's IO with the outside world. When you build under eclipse, you get everything happening under the IDE. If you could switch logger, everything would break. This isnt an ant feature, it will be the IDE stripping out any -listener options before it gets down to ant. -tseve -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org