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 70229 - I18N - "Source Packages" of bp sample project not from localized bundle
Summary: I18N - "Source Packages" of bp sample project not from localized bundle
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: blueprints (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Yutaka Yoshida
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-12-11 21:42 UTC by Ken Frank
Modified: 2013-02-13 10:20 UTC (History)
2 users (show)

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 2005-12-11 21:42:57 UTC
Create a sample blueprint project and notice that on file explorer
the words "Source Packages" don't show as from localized jar file;
I don't see that key in a blueprint bundle file; do see it in many 
other bundles of other jars and all of those have been localized for my locale.
Comment 1 _ ludo 2005-12-15 12:51:26 UTC
Maybe a web project bug. Not a bp one for sure.
Comment 2 Radko Najman 2005-12-16 15:03:42 UTC
I'm sorry, it is definitely the blueprints bug. The problem is that "Source
Packages" and "Test Packages" are hard coded in project.xml in some blueprints
samples. For example see
<nb_all>/j2ee/blueprints/build/classes/org/netbeans/modules/j2ee/blueprints/progress-bar.zip/nbproject/project.xml
In this file you can see

<source-roots>
  <root id="src.dir" name="Source Packages"/>
</source-roots>
<test-roots>
  <root id="test.src.dir" name="Test Packages"/>
</test-roots>

There should be only

<source-roots>
  <root id="src.dir"/>
</source-roots>
<test-roots>
  <root id="test.src.dir"/>
</test-roots>

To fix it check project.xml files in all blueprints samples and delete name
attributes if there are any.

Reassigning back.
Comment 3 Yutaka Yoshida 2005-12-16 21:32:13 UTC
Problems are in java.net repository.
Fixed in that source codes and j2ee/external/blueprints-solutions-
catalog.zip was checked in to the trunk.
==========
Checking in external/blueprints-solutions-catalog.zip;
/cvs/j2ee/external/blueprints-solutions-catalog.zip,v  <-- 
blueprints-solutions-catalog.zip
new revision: 1.4; previous revision: 1.3
done
==========
Comment 4 _ ludo 2006-01-04 00:54:32 UTC
I am ok with this fix
Comment 5 Yutaka Yoshida 2006-01-04 02:08:58 UTC
integrated in release50.
Comment 6 Marek Grummich 2006-01-26 10:36:46 UTC
verified