ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24431] New: - XML Logger marks compile-errors as warnings
Date Wed, 05 Nov 2003 12:28:57 GMT
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


Mime
View raw message