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 | *------------------------------------------------------*
