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

Summary: [50cat] Project Template wizard generates broken project if the chosen package is not the same that
Product: apisupport Reporter: misterm <misterm>
Component: TemplatesAssignee: rmatous <rmatous>
Status: VERIFIED FIXED    
Severity: blocker CC: kitsooftlk
Priority: P2 Keywords: RELNOTE
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.