[Anthill-dev] output of XML logfiles
wdom2 at web.de
wdom2 at web.de
Tue Aug 31 03:12:08 CDT 2004
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
More information about the Anthill-dev
mailing list