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.
Product Version: NetBeans IDE Dev (Build 200803021202) Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) 1) Create Web project with VW JSF 2) Create Entity classes and persistence unit from simple database 3) JSF Pages from Entity Classes -> Add All -> Next 4) Fill "jsff" into "JSF Page Folder" -> Finish Now all Converter/Controller classes are created in {project name} package, but a whole bunch of empty packages is created, one for every entity class, with package name {project name}.jsff.{entity class name}
Similar to issue 127291, except this one deals with the JSF Pages Folder field rather than the Package field.
Actually, the defining maneuver here is selecting visual web JSF rather than just JSF. Reproducible.
The obvious cause would appear to be that there is an insync listener responding to the creation of each JSP folder by creating a corresponding Java package. In this case, because the operation is not related to visual web functionality, the listener should not do so. Perhaps the listener can be temporarily removed prior to creating the JSP folder and then restored after the JSP folder is created. Copying sandipchitale and deva for advice on how to achieve this or a similar solution.
*** Issue 130862 has been marked as a duplicate of this issue. ***
I've been advised by sandipchitale and deva. The behavior is a limitation in the vw architecture; effectively, it does not have a concept of non-vw jsp folders existing. Even if we temporarily remove the listener, the next time the project is opened, the corresponding java packages will be created. Not much to be done. They do no harm; I consider this a release notes candidate.