Hi Is there a setting for the source encoding in the Project Build Plugin? Changing the default encoding (windows-1252) to UTF-8 results in a wrong class file. For example the following class
results in the following class file
Compiling in the Designer results in the correct
Regards Michael asked 23.09.2016 at 11:27 Michael Reguel Werme... ♦♦ |
We've introduced a new configuration parameter to set the 'encoding' for all sources of a project. http://axonivy.github.io/project-build-plugin/snapshot/6.3/compileProject-mojo.html#encoding It is yet only possible to use this feature if you use the latest SNAPSHOT release of the project-build-plugin plus a nightly engine: http://developer.axonivy.com/dev-releases/nightly.html We'd love to get feedback if this works for your project:
you will also need a configuration to use sonatype snapshot repository in order to get this release:
answered 30.09.2016 at 09:38 Reguel Werme... ♦♦ |
Another solution to work around this problem is to keep the default encoding and encode special characters with embedded unicode chars by using \u Example:
answered 25.10.2016 at 14:29 Reguel Werme... ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 23.09.2016 at 11:27
Seen: 2,742 times
Last updated: 22.11.2016 at 13:57
Hi Michael
Unfortunately there is no setting to change the encoding.
It seems that there is an issue with the Project Build Plugin, which leads to the wrong class file. We will analyze that and fix it in a future version.
Thank you for reporting this.
Kind regards Barbara