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.
Generic template wizard should not display package at the second step.
This change is probably tied with projects implementation.
According to David, this change is important and not easy at all, should be worked on sooner then 4.0, although it's targeted for 4.0
Passing to new owner
The layout and content of TemplateWizard2 will be changed or removed, now it's designed only for new java sources.
It is very important to be able to use an IDE that does NOT force a directory structure on the users. Adding the package name to the wizard does this very thing. The IDE should be able to be configured so that user can set default directory structure that may not fit the package name for developing source files. As it is now, the wizards are unusable for anyone developing this way, as all of the generated files have to be reworked to get things to compile and run correctly.
Using of 'package' or FileObject.getPackageName/Ext was removed. committed in a branch 'wizards_redesign_2002Sep'. this way is usable in projects branch (tested on prj40_prototype branch). But, It couldn't be the final solution. In TemplateWizard2 should be used DataFolderEditor with same functionality. The issue will be investigated henceforward.
Implemented different solution for integration with projects. The methods FileSystem.find(...,...,...) or FileObject.getPackageName/Ext() are not used henceforward. A logic to exploring/selection folder is taken up DataFolderEditor, instead of direct implementation in TemplateWizard2. Committed in wizards_redesign_2002Sep. This solution should be final (I hope) I will merge to main trunk after deeply testing.
Note: successfully tested on projects branch (prj40_prototype, Oct 03).
fixed, merged from wizards_redesign_2002Sep to maintrunk. It's able to merge to prj40_prototype branch.