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 147922

Summary: Option to hide empty packages in visual web project source
Product: java Reporter: nelsonmorell <nelsonmorell>
Component: SourceAssignee: Rastislav Komara <moonko>
Status: NEW ---    
Severity: blocker CC: potingwu
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description nelsonmorell 2008-09-22 19:10:38 UTC
In a visual web project...under the Source Package...empty packages are visible.  I would like to see an option to hide 
empty packages.  I have several folders that contains files in the Web Pages section that will never have class files 
in the Source Package.  So a Hide Empty package option...or Do not show empty packages would be wonderful.

If there is a work around for this...beside deleting them everytime the project is opened (they just return with the 
project is reopened)...that would be great.
Comment 1 _ potingwu 2008-09-22 20:16:38 UTC
Make an empty Java Source package invisible is a general Java UI feature.
Comment 2 nelsonmorell 2008-10-06 17:07:52 UTC
If I delete the empty packages from my project, as soon as I open a visual web page it appears that the IDE is 
compiling the visual web page (via reflection whatever method is used to compile the visual web pages) and the empty 
packages return in view.  This is why I originally labled this as a visual web issue.  It appears to be both, general 
Java UI feature and possibly an issue with Visual Web projects.
Comment 3 Rastislav Komara 2009-02-03 10:54:25 UTC
Overtake.