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 108323 - I18N - javadoc not generated for file with mbyte in class or project name
Summary: I18N - javadoc not generated for file with mbyte in class or project name
Status: VERIFIED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-06-27 19:05 UTC by Ken Frank
Modified: 2007-07-27 14:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (53.96 KB, image/gif)
2007-06-27 19:06 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-27 19:05:23 UTC
using ja locale on solaris, with mobility application  project - the default project encoding is utf-8 although user can use
characters
from the locale they are in and do not need to change project default encoding to do so.

create mobility application project with mbyte in its name and a class with mbyte in its name.
choose to create java doc - there are syntax errors related to encoding - the errors are in japanese since
javadoc  error msgs have been translated to japanese, but the clue is in the words EUC_JP_SOLARIS

see attached gif of output window errors - the gif is from the same bug on j2se project but the error msgs are the same.

now change the project encoding property to euc-jp, which is the default encoding of solaris ja locale,
and create another java class with mbyte in its name.

now choose to create javadoc - there are no syntax errors associated with this newly created file, but still
errors on the previous file that was created when project encoding was utf-8

NOTE - see 106944 for more information and about solution - that one is on j2se project.

PS I dont know if this applies to other mobility project types.
Comment 1 Ken Frank 2007-06-27 19:06:20 UTC
Created attachment 44480 [details]
image
Comment 2 Adam Sotona 2007-07-10 12:47:49 UTC
Yes, this means to add encoding="${javac.encoding}" to the javadoc task.
Comment 3 Lukas Hasik 2007-07-27 14:07:52 UTC
verified

<snip>

Generating Javadoc
Executing 'C:\Program Files\Java\jdk1.5.0_12\bin\javadoc.exe' with arguments:
'-d'
'C:\Documents and Settings\Lukas\My Documents\と粮Joi粮NetBeansProjects粤ろ\MobileApplicationPatInMutlibytes\dist\doc'
'-use'
'-splitindex'
'-encoding'
'windows-31j'
'-sourcepath'
'C:\Documents and Settings\Lukas\My Documents\と粮Joi粮NetBeansProjects粤ろ\MobileApplicationPatInMutlibytes\build\
preprocessed'
'-bootclasspath'
'F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\wma20.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\jsr082.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\jsr184.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\j2me-ws.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\mmapi.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\jsr75.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\cldcapi11.jar;F:\netbeans\userdirs\nb60-0722-i18n\emulators\wtk22_win\emulator\wtk22\lib\midpapi20.jar'
'-source'
'1.3'
'hello'
The ' characters around the executable and arguments are
not part of the command.
Javadoc execution
パッケージ hello のソースファイルを読み込んでいます...

<snip>

と粮Joe粮browse-javadoc:粤ろ
Browsing: file:/C:/Documents%20and%20Settings/Lukas/My%20Documents/と粮Joi粮NetBeansProjects粤ろ
/MobileApplicationPatInMutlibytes/dist/doc/index.html
Exiting C:\Documents and Settings\Lukas\My Documents\と粮Joi粮NetBeansProjects粤ろ\MobileApplicationPatInMutlibytes\
build.xml.
BUILD SUCCESSFUL (total time: 6 seconds)