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 71908 - [50cat] Project Template wizard generates broken project if the chosen package is not the same that
Summary: [50cat] Project Template wizard generates broken project if the chosen packag...
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2006-01-26 16:35 UTC by misterm
Modified: 2012-05-22 12:56 UTC (History)
1 user (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 misterm 2006-01-26 16:35:40 UTC
[ BUILD # : RC1 ]
[ JDK VERSION : 1.4.2_xx ]

Steps to reproduce:

1. Create a new module project, placing its Bundle.properties in a subpackage resources;
2. Choose New -> Project Template and create the files in the _main package_ not in the resources package.

When you try to use the generated wizard, a MissingResourceException is thrown because the wizard modifies the Bundle.properties file for the project, not for the package.
Comment 1 Martin Krauskopf 2006-01-26 20:48:06 UTC
Yes, reproduced. Quite annoying. Probably it is too late to backport into 5.0?
Comment 2 pzajac 2006-01-27 08:48:17 UTC
Yes it's too late.
Comment 3 Tomas Danek 2006-01-27 13:17:34 UTC
5.0 waiver??
Comment 4 misterm 2006-01-27 13:25:36 UTC
Shouldn't it be targeted to 5.0u1 if it is waived?
Comment 5 rmatous 2006-02-08 14:20:52 UTC
Fixed in trunk
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/project/NewProjectIterator.java,v
 <--  NewProjectIterator.java
new revision: 1.21; previous revision: 1.20

Fixed in apisupport_50u1
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/project/NewProjectIterator.java,v
 <--  NewProjectIterator.java
new revision: 1.20.2.1; previous revision: 1.20
Comment 6 Tomas Danek 2006-03-24 12:50:37 UTC
unreproducible in U1 RC1 -> verified.