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.
In Netbeans 3.6, by selecting a package in the Filesystems window and then choosing to Build or Compile, the selected package and all subpackages were Built or Compiled. In Netbeans 4.1, first I must go to the Projects tab and not the Files tab, but even then, when I select a package, it only compiles classes in that package, and not subpackages. Is there a simple way to select and build/compile a package and recursively all of its subpackages as there was in 3.6?
You are right, reproduced on build NB 5.0 (200510052037)
It is by design, the package view is flat and actions on it operates on the package. This is an enhancement to add Compile action on the Project's Tree View. I think it is already filled, but I am not able to find it now.
You should be able to use F9 while the folder is selected in the Files tab to perform a recursive compile. (If currently in the Projects tab, just use Ctrl-Shift-2.) Whether there should be a context menu item for this is another matter. I think it is intentional that there are no such items in the Files tab. If you switch the package display to tree view rather than flat list view, F9 and the context menu item should work, though currently there is no Compile Package context menu item on the folder in Projects in tree view, which may be a bug - perhaps it should however include a binding for the same action (still F9) with the label "Compile Folder" or similar. May adjust priority to reflect the fact that there is no missing functionality, but a lack of discoverability.
I think this is the same 50747.
*** Issue 50747 has been marked as a duplicate of this issue. ***