cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nicolas de loof (JIRA)" <>
Subject [jira] Commented: (CXF-2450) WSDL2java uses system encoding when generating java classes
Date Fri, 05 Mar 2010 08:52:27 GMT


nicolas de loof commented on CXF-2450:

A workaround is to isolate wsdl2java code generation in a dedicated maven module and to configure
the compiler plugin to use OS dependant encoding (that is not recommended in other cases)


> WSDL2java uses system encoding when generating java classes
> -----------------------------------------------------------
>                 Key: CXF-2450
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1.3
>            Reporter: Mads Jensen
> When using wsdl2java java classes are created in default encoding(for instance MacRoman).
But when we afterwards try to compile these classes in UTF-8 special chars in java comments
resolves in compliations error
> [INFO] Compilation failure
> /url/to/file/[31,18] unmappable character for encoding UTF-8
> We would like somehow to specify which encoding wsdl2java should use when generating
java classes. We can't seem to find this property.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message