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 53346 - Source Packages node collapses on Clean
Summary: Source Packages node collapses on Clean
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 13:50 UTC by zikmund
Modified: 2006-03-24 13:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-01-13 13:50:28 UTC
Build 200501121900

1) Have a WebApp
2) Explore some classes/pakcages in Source Packages
3) Clean Project (from project's node context menu)
4) ERROR:
Sources Packages node collapses.

Notice: same thing happen on Compile of uncompiled
file, Clean and Build does sometimes the same -
hence P2 (it's very annoying explore classes again
and again).
Comment 1 Pavel Buzek 2005-01-28 15:55:39 UTC
It does not happen in j2se project. It is caused by the WebViews
listening on project folder rather then on source groups. It should be
changed to make the project view listen on source groups. You _could_
just filter changes from folders that do not belong to source groups
but it will probably be simpler and consistent with j2se project to
listen on source changes.
Fix in 4.1.
Comment 2 Andrei Badea 2005-02-14 08:32:16 UTC
Fixed by listening on WebSources. Also fixed a deadlock that could
appear on WebSources change.

Checking in src/org/netbeans/modules/web/project/ui/WebViews.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/WebViews.java,v
 <--  WebViews.java
new revision: 1.23; previous revision: 1.22
done
Comment 3 zikmund 2005-02-15 08:23:34 UTC
Verified.