You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Maxim V. Varfolomeyev (JIRA)" <ji...@apache.org> on 2012/05/02 12:28:51 UTC

[jira] [Commented] (CXF-2450) WSDL2java uses system encoding when generating java classes

    [ https://issues.apache.org/jira/browse/CXF-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266474#comment-13266474 ] 

Maxim V. Varfolomeyev commented on CXF-2450:
--------------------------------------------

So that http://java.net/jira/browse/JAXB-499 was resolved adding "encoding" option what's the future of this issue?
                
> WSDL2java uses system encoding when generating java classes
> -----------------------------------------------------------
>
>                 Key: CXF-2450
>                 URL: https://issues.apache.org/jira/browse/CXF-2450
>             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/SomeFile.java:[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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira