Details
Description
Checked out version 671603, ran "ant" with the following results:
1) when building, XmlReportWriterTest.java gets the following warning:
[javac] /home/hyerle/usr/ivy/live/ivy/test/java/org/apache/ivy/plugins/report/XmlReportWriterTest.java:74: warning: unmappable character for encoding UTF8
[javac] String expectedOrg = "organisation=\"sp�cial\"";
[javac]
2) when running the junit tests, one gets the following failure:
[junit] Running org.apache.ivy.plugins.report.XmlReportWriterTest
[junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 1,626 sec
[junit] Test org.apache.ivy.plugins.report.XmlReportWriterTest FAILED
This is reported as:
XML doesn't contain the organisation
junit.framework.AssertionFailedError: XML doesn't contain the organisation
at org.apache.ivy.plugins.report.XmlReportWriterTest.testWriteOrigin(XmlReportWriterTest.java:80)
This is presumably because the mapping of the compiled string "special" (accent on the 'e') without a valid mapping does not match the contents of the test report ("test/repositories/1/special-encoding-root-ivy.xml").
This test was checked in on 29-may as revision 661275 by gscokart.
It is unclear to me if the test is broken for certain configurations, or only certain LANG configurations are supported, or the original bug (IVY-816) was never completely fixed.
Attachments
Issue Links
- relates to
-
IVY-816 Report encoding is incorrect
- Resolved