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.

Bug 108078 - I18N - running using jnlp does not happen if multibyte in project path or class name
Summary: I18N - running using jnlp does not happen if multibyte in project path or cla...
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Java Webstart (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-06-25 21:32 UTC by Ken Frank
Modified: 2007-07-30 19:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (14.93 KB, image/gif)
2007-06-25 21:36 UTC, Ken Frank
Details
image (19.87 KB, image/gif)
2007-06-25 21:36 UTC, Ken Frank
Details
image (22.44 KB, image/gif)
2007-06-25 21:37 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-06-25 21:32:39 UTC
1. am in ja locale, on solaris

2. have a j2se project, it has multibyte as part of class name or just for some part of project path;


3. in project properties I choose to enable and then use jws
and then run the project

4. jws windows come up with errors that it cant run - attached are gifs of the 3 error tabs - notice that
the strange characters shown are the part of the path that has multibyte - but this is not correct multibyte
and is typical of when there is an encoding problem.


5. using another project with no mbyte used in path or class name, the errors do not show.

6. and running without jws, the project runs.

7. NOTE - the new project encoding value was not changed for the default case
but even changing it to the encoding of the locale i am in when running ide, euc-jp, does not help.
(default project encoding is utf-8)

I dont know if this is related to project encoding or just about encoding between ide and jws.

8. questions -

do other project types have option to use jws to run them ? if so, are separate issues needed ?

for the jws project option of web deployment, what is be the $$codebase value ?
how can this scenario be tested in general (regardless of using multibyte)
Comment 1 Ken Frank 2007-06-25 21:36:11 UTC
Created attachment 44370 [details]
image
Comment 2 Ken Frank 2007-06-25 21:36:44 UTC
Created attachment 44371 [details]
image
Comment 3 Ken Frank 2007-06-25 21:37:11 UTC
Created attachment 44372 [details]
image
Comment 4 Milan Kubec 2007-07-25 15:19:46 UTC
Fixed. All operations with the generated files must be UTF-8.

Checking in jnlp-impl.xml_;
/cvs/javawebstart/src/org/netbeans/modules/javawebstart/resources/jnlp-impl.xml_,v  <--  jnlp-impl.xml_
new revision: 1.6; previous revision: 1.5
done

Answers: 

- No, web start execution is only available to j2se project.

- '$$codebase' is replaced by servlet that will send the jnlp file from server by correct codebase value. The scenario
can tested by deploying servlet to app server and setting correctly mime types on the server and then asking for some
JNLP application deployed on the server. But you will be testing mainly servlet and app server, not web start support in
IDE.
Comment 5 Ken Frank 2007-07-30 19:59:16 UTC
verified.

ken.frank@sun.com