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.
Summary: |
Maven project nodes with java sources does not behave the same way as resources |
Product: |
projects
|
Reporter: |
crazyjavahacking |
Component: |
Maven | Assignee: |
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
|
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