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 209719

Summary: Maven project nodes with java sources does not behave the same way as resources
Product: projects Reporter: crazyjavahacking
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P4    
Version: 7.2   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: bug

Description crazyjavahacking 2012-03-19 08:35:27 UTC
Created attachment 116847 [details]
bug

When I have a Maven project with standard 'jar' packaging and I remove the 'resources' folder from either 'src/main' or 'src/test', the project nodes will properly be redrawn (hidden). Also when I manually add those folders, they will be automatically added as nodes.

However when I remove the 'java' folder from 'src/main' or 'src/resources', nodes will remain there and they will have default Nodes API icon. I assume that folder listeners are not the same for java and resources folders.

Removing java folders makes sense when one uses Maven for other languages (C, ...)


NetBeans Dev Build 201203150400, JDK7u2, Maven 3.0.4
Comment 1 Martin Balin 2016-07-07 08:37:47 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss