ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Duncan Davidson" <james.david...@eng.sun.com>
Subject Re: Proposal: XML output from ant tasks
Date Mon, 28 Feb 2000 04:53:23 GMT
> Hmmmm, what about a simple micro-DOM?
>
> Element element = new Element(name, value);
> element.setAttribue(attname, attvalue);
> element.addElement(new Element(name2, value2));
> project.log(element);
> project.log(value);
>
> project.log(Element element) is the XML logging method (to file?)
> project.log(String value) is the current logging method (to console?)
>
> the behavior of the two methods can be decided with command line
> arguments.
>
> What do you think?

Something like that would be okay. I'd rather use something standard, but
since we don't have a Simple Object Model standard in the world right now,
I'm reasonably ok with something like this.

.duncan


Mime
View raw message