New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
If you use maven-clover-plugin for a project using Maven2,
and source code contains Japanese (UTF-8) characters,
For example, if the method name for TestCase class includes Japanese
public void test_IsEzEmoji_nullのとき() throws Exception {
..
If you execute
$ mvn site
then you get the error
Clover all over. Instrumented 29 files (14 packages).
Clover Version 2.1.0, built on February 14 2008 (build-693)
Loaded from: c:\lib\.m2\repository\com\cenqua\clover\clover\2.1.0\clover-2.1.0.jar
Clover: Commercial License registered to Furyu KK.
Updating existing database at 'C:\workspace\furyu-core\target\clover\clover.db'.
Processing files at 1.5 source level.
ERROR: C:\workspace\furyu-core\src\test\java\jp\furyu\core\mobile\ez\EzUtilTest.
java:19:0:unexpected char: ?
ERROR: Instrumentation error
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
Line 19, the cause for the error, is the line where the method is being declared.
If the Japanese text is deleted from the method name, it works fine.
When this project was using clover-ant before, this type of problem did not exist.
Therefore, we suspect that the maven-clover plugin is unable to handle Japanese characters in source code.
Could you please fix this?
Description
If you use maven-clover-plugin for a project using Maven2,
and source code contains Japanese (UTF-8) characters,
For example, if the method name for TestCase class includes Japanese
public void test_IsEzEmoji_nullのとき() throws Exception {
..
If you execute
$ mvn site
then you get the error
Clover all over. Instrumented 29 files (14 packages).
Clover Version 2.1.0, built on February 14 2008 (build-693)
Loaded from: c:\lib\.m2\repository\com\cenqua\clover\clover\2.1.0\clover-2.1.0.jar
Clover: Commercial License registered to Furyu KK.
Updating existing database at 'C:\workspace\furyu-core\target\clover\clover.db'.
Processing files at 1.5 source level.
ERROR: C:\workspace\furyu-core\src\test\java\jp\furyu\core\mobile\ez\EzUtilTest.
java:19:0:unexpected char: ?
ERROR: Instrumentation error
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
Line 19, the cause for the error, is the line where the method is being declared.
If the Japanese text is deleted from the method name, it works fine.
When this project was using clover-ant before, this type of problem did not exist.
Therefore, we suspect that the maven-clover plugin is unable to handle Japanese characters in source code.
Could you please fix this?
Nick Pellow [Atlassian] added a comment - 18/Apr/08 02:45 AM Hi Neeraj,
Thank you for reporting this. I will look into what is going on here and try and find a fix or work around for you.
Best Regards,
Nick Pellow.
Thank you for reporting this. I will look into what is going on here and try and find a fix or work around for you.
Best Regards,
Nick Pellow.