Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 75219 invoked from network); 24 Feb 2000 04:04:04 -0000 Received: from smtp.networkusa.net (root@216.15.144.12) by locus.apache.org with SMTP; 24 Feb 2000 04:04:04 -0000 Received: from joe_laptop (adsl-100-217.valuenet.net [216.162.100.217]) by smtp.networkusa.net (8.8.7/8.8.7) with SMTP id WAA12001 for ; Wed, 23 Feb 2000 22:14:26 -0600 Message-Id: <200002240414.WAA12001@smtp.networkusa.net> X-Sender: emeade@web22.topchoice.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Wed, 23 Feb 2000 21:59:32 -0600 To: ant-dev@jakarta.apache.org From: Erik Meade Subject: Re: Proposal: XML output from ant tasks In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Yes. This is just the kind of stuff I would like to be able to log so I can generate some measurements for myself. I was just planning on parsing it out from a file, xml would help there! Erik Meade At 11:54 AM 2/23/00 -0800, you wrote: >Hi, > >Right now ant has a very nice file format and works great, but if you >build a large project you'll probably get a lot of messages - some of them >are warnings ( deprecated methods ), some are important info ( time to >build, non-critical failures ). > >Also, with conditional compilation we will have some very important >messages describing what was actualy build into the dist. > >The problem is that it takes time to extract the information, and it is >hard to automate it. > >One possible solution is ( guess what? ) xml. If we convert all logs to >display well-formed XML it will be easy to post-process the results >and even have a nice format. > >The price is not big - the output will still be readable. It can be an >incremental job, with log() changed to wrap everything in a generic > tag with the source and level, and then we can add format to >the most important messages ( like deprecations, not-fatal warnings, >conditional compilations, etc). > >What do you think? > >Costin >