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 115038 - I18N - regenerate sample projects for nb6
Summary: I18N - regenerate sample projects for nb6
Status: RESOLVED DUPLICATE of bug 113372
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Mark Dey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-07 15:30 UTC by Ken Frank
Modified: 2007-09-07 15:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-09-07 15:30:12 UTC
NOTE - this is not about translating samples; they are not translated; this is about other i18n aspects


part of this is  related to new project encoding property and part is
related to encoding handling for generating javadoc

assumption here is that it is ok for user to change some labels or other ui
items part of using the sample.
And it might be that the created project might have multibyte in it anyway if
project name has multibyte
in it and thats used as name of package or class, or that date is part of the
temate and so would have mbyte characters in it.
(this is legal in nb and java)

0. this is for the visualweb sample projects -   the default case now for nb projects now (new implementation for nb6)  is
that utf-8 encoding is used but if encoding was changed in another project, that
encoding becomes the global encoding value.

1. for other nb samples that had not been regenerated, when multibyte is added to some label and thus its then in the
java code,
when compiling the project
or when generating javadoc, some warnings about encoding are shown but the
project and javadoc compiles ok.

2.  the fix for javadoc has been filed for various  project types; the fix
relates to javadoc.encoding property defined in the project.properties
wasn't used only defined.
 
3. the regeneration of the sample projects for nb6 could help with these
warning since the build-impl.xml
will also be regenerated.   Tomas can provide more information on these topics.
 
4. Also, if these samples might have jsp or html files in them and the 
encoding value used in creation of these files is different than in past, and
works with the new project
encoding, so regeneration of the samples might help those files in the samples 
to be compatible with that.

5. NOTE - however 108682 is not yet fixed for visualweb in general (seeding the jsp files with project
encoding - this might cause separate problems for both samples and non samples; suggest this issue be fixed
soon.
Comment 1 Ken Frank 2007-09-07 15:42:56 UTC
this was already filed as 113372; I think some button in IZ might have been incorrectly pushed so that this
was filed again as a new issue.

ken.frank@sun.com

*** This issue has been marked as a duplicate of 113372 ***