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 66044 - Add Build Action on folder in project's tree view
Summary: Add Build Action on folder in project's tree view
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 50747 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-05 19:28 UTC by pisolero
Modified: 2011-08-31 14:06 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pisolero 2005-10-05 19:28:32 UTC
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?
Comment 1 Marian Mirilovic 2005-10-06 10:11:03 UTC
You are right, reproduced on build NB 5.0 (200510052037)
Comment 2 Tomas Zezula 2005-10-06 11:02:56 UTC
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.

Comment 3 Jesse Glick 2005-10-07 22:40:57 UTC
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.
Comment 4 emlope 2006-01-25 23:26:57 UTC
I think this is the same 50747.
Comment 5 Marian Mirilovic 2006-01-26 07:40:18 UTC
*** Issue 50747 has been marked as a duplicate of this issue. ***