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 32531 invoked from network); 14 Jun 2000 23:52:07 -0000 Received: from me-sv-02.free.net.au (202.147.17.2) by locus.apache.org with SMTP; 14 Jun 2000 23:52:07 -0000 Received: (qmail 1980 invoked from network); 14 Jun 2000 23:51:27 -0000 Received: from me-as-05-036.free.net.au (HELO donalgar) (202.147.22.36) by me-sv-02.free.net.au with SMTP; 14 Jun 2000 23:51:27 -0000 Message-Id: <3.0.5.32.20000615095836.00834550@latcs4.cs.latrobe.edu.au> X-Sender: pjdonald@latcs4.cs.latrobe.edu.au X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Thu, 15 Jun 2000 09:58:36 +1000 To: ant-dev@jakarta.apache.org From: Peter Donald Subject: Re: build events In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N At 05:39 14/6/00 -0500, you wrote: >Then I simply defined an XmlLogger class that dumped whatever XML I wanted >into a file, and added it as a listener to the Project. I was also able to >move all of the "user interface" code for Ant (ie all of the out.println >()'s) into Main.java so that it was all in one place by making it a >BuildListener. The makes the rest of the code cleaner if we want to create >a gui version of Ant, say. It also makes it easy to create listeners to do >profiling, debugging, etc... > >Is this worth pursuing? It definetly looks interesting so I would say yes. I did something similar (thou much more hacky) that allowed me to track large builds progress. (Talking hours for 'large'). It allowed me to easily generate web-pages every time a task was finished. Cheers, Pete *------------------------------------------------------* | "Nearly all men can stand adversity, but if you want | | to test a man's character, give him power." | | -Abraham Lincoln | *------------------------------------------------------*