ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@apache.org>
Subject Re: XmlLogger File broken
Date Thu, 14 Apr 2005 13:57:40 GMT
Are you processing the log file you are in the process of generating? 
That would explain why it's not complete. Perhaps you need to have a two 
phase approach?

Conor

Huditsch Roman wrote:
> Hi,
> 
> After bringing my ant XSLT transformation workflow to work with your
> great help, 
> I encountered that I get rather strange XML log files by the XMLLogger. 
> 
> The XML log files seems to be brocken in the middle.
> Here is my output (using the default output method):
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl"
> href="R:\Produktion\Tools\ant\etc\log.xsl"?>
> 
> <build time="2 seconds">
> 	<task name="description" location="C:\Produktion.xml:19: "
> time="0 seconds"></task>
> 	<task name="
> 
> 
> 
> The build process finished successfully.....
> The command for runnign ant looks like:
> ant -buildfile "C:\Produktion.xml" -logger
> org.apache.tools.ant.XmlLogger
> -Dant.XmlLogger.stylesheet.uri="R:\Produktion\Tools\ant\etc\log.xsl"
> -logfile "log.xml"
> 
> Is there any chance to get a wellfored XML file?
> I would like to write a stylesheet for showing occuring errors to the
> user.
> Thanks very much for your help in advance!
> 
> 
> wbr,
> Roman
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message