This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | cannt compile webservice client with utf-8 encoding | ||
---|---|---|---|
Product: | webservices | Reporter: | isoman |
Component: | JAX-WS | Assignee: | issues@webservices <issues> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | CC: | dkonecny, markiewb, pjiricka, sj-nb, sunwasbetterthanoracle |
Priority: | P1 | ||
Version: | 7.3.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
isoman
2013-02-28 12:04:20 UTC
Strange. A similar issue was already fixed in 7.3 http://netbeans.org/bugzilla/show_bug.cgi?id=216526 I see 216526 fix contain 1.54 + FileObject fo = classpath.findResource( 1.55 + "com/sun/tools/xjc/generator/bean/field/MessageBundle_it.properties"); //NOI18N 1.56 + if ( fo!= null){ and it seems to specific for Italian only problem. This one issue is for FR locale, may be it can be just added the same way, and may be a few more locales in advance, I'm nor sure how to get more generic fix yet and if the same fix will work in FR case yet. isoman, so far I'm not able to reproduce the issue, start ide as fr_FR tried to create web project on gf 3.1.2.2 with itf-8 sources, generate web service create another web project generate web client deploy/build works fine code contain "<p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe." comments and is compilable. (In reply to comment #2) > and it seems to specific for Italian only problem Sergey, the change checks for presence of MessageBundle_it.properties on classpath of libs.jaxws21.classpath library. But that does not mean it is specific to Italian locale. Just open nb73/ide/modules/ext/jaxb/jaxb-xjc.jar and you will see that it contains many different locales. I do not know why Denis chose this particular file for the check. isoman, could you please provide steps how to reproduce the problem? What exact output the compiler provides in verbose mode? Could you attach a dummy test project reproducing the problem? Is there any relation to issue 216526? Thanks. *** Bug 225053 has been marked as a duplicate of this bug. *** I had the same issue with 7.2 and after changing to 7.3.1. Solved with a change in the 'netbeans.conf' file in the netbeans installation folder under '\etc' : Add « -J-Dfile.encoding=UTF-8"» to the line : «netbeans_default_options="[…]"» so you get «netbeans_default_options="[…] -J-Dfile.encoding=UTF-8"». Restart netbeans. |