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 - Maven project nodes with java sources does not behave the same way as resources
Summary: Maven project nodes with java sources does not behave the same way as resources
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: PC Windows 7 x64
: P4 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-19 08:35 UTC by crazyjavahacking
Modified: 2016-07-07 08:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
bug (4.80 KB, image/png)
2012-03-19 08:35 UTC, crazyjavahacking
Details

Note You need to log in before you can comment on or make changes to this 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