You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/11/05 13:28:57 UTC
DO NOT REPLY [Bug 24431] New: -
XML Logger marks compile-errors as warnings
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24431>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24431
XML Logger marks compile-errors as warnings
Summary: XML Logger marks compile-errors as warnings
Product: Ant
Version: 1.5.3
Platform: All
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: Core
AssignedTo: dev@ant.apache.org
ReportedBy: christian.paetzold@sparkassen-informatik.de
Hello,
I use Cruise Control (CC) for continuous integration. CC uses Ant-XMLLogger. The
CC-Webapp parses the the output of the logging to display compile-errors and
warnings in the browser.
I want to seperate compile errors and warnings but there is no way to see
differences between javac errors and warnings in the xml-output:
All looks like:
----------------
<message priority="warn">...</message>
(cruise control output and commandline output looks the same)
What I expect is:
-----------------
<message priority="error">...</message> for errors
The compile is delegated to another build script:
build.xml --> compile.xml (<javac>-Task in there)
(Maybe some important hint)
Output of a test-project:
-------------------------
<message priority="warn">
<![CDATA[D:
Projekte\CVS_CruiseControl\dev\Implementierung\Thunderbird\ThunderbirdCore\Prod
\de\sparkasseninformatik\thunderbird\sk\hallo\HalloBegruesser.java:12: ';'
expected]]>
</message>
<message priority="warn">
<![CDATA[ return "Hallo, " + input]]>
</message>
<message priority="warn">
<![CDATA[ ^]]></message>
<message priority="warn">
<![CDATA[1 error]]>
</message>
regards,
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org