output of XML logfiles
<wdom2-S0/[email protected]> Tue, 31 Aug 2004 10:12:08 +0200
| Newsgroups | gmane.comp.java.anthill.devel |
|---|---|
| Organization | http://freemail.web.de/ |
| Message-ID | <[email protected]> |
Hi,
I know that it is a matter of taste, but I'd prefer the usage of XML-output-logfiles produced by ant.
By default anthill produces ASC-II Logs. I propose to make this configurable by using an additional
project property for that purpose. As long as this is not in the main-src tree I introduced a hardcoded work-around looking like this:
-----8<-------------------------------------------------------------------------
in Buildanager.java
...
in method buildProject(BuildDefinition)
...
String logFile = properties.getBuildLogDir() + project.getProjectName() +
"-" + buildDef.getVersion() + "-build.xml";
if (logFile.indexOf(' ') >= 0) {
logFile = "\"" + logFile + "\"";
}
cmdList.add("-logger");
cmdList.add("org.apache.tools.ant.XmlLogger");
cmdList.add("-logfile");
cmdList.add(logFile);
-----8<--------------------------------------------------------------------------
which produces the requestet XML-outputfile, but not in dependency of a project
property.
What do you think - should we add the requested feature to the next anthill-OS release(s)?
Walter
_______________________________________________________
WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
Informationen unter: http://freemail.web.de/?mc=021199