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 47271 - Folder hiearchy created at one fling is not refreshed
Summary: Folder hiearchy created at one fling is not refreshed
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-08-16 15:55 UTC by Martin Schovanek
Modified: 2006-06-30 11:57 UTC (History)
0 users

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 Martin Schovanek 2004-08-16 15:55:44 UTC
[#200408161051 (4.0 Beta 1), jdk1.5.0]

To reproduce:
-------------
1) create a folder like 'a/b' (in the Projects tab)
2) create a .class in the package a.b
ERROR1: the class appears only in the Files tab
but not in the Projects tab.
3) refresh the folder
ERROR2: folder is not refreshed, the class doesn't
appear
Comment 1 Jesse Glick 2004-08-16 22:17:12 UTC
Can't reproduce any such problem in 040813 custom. Need more precise
description of steps.

Also re. "refresh the folder" - this menu item is not even supposed to
be there (filed separately). Anyway there is no need to refresh
changes unless you are making changes on disk (outside the IDE).
Comment 2 Martin Schovanek 2004-08-17 09:11:19 UTC
More specific to reproduce:
---------------------------
1) New > Project > Java Application
2) right click the Source Packages node
3) choose New > File/Folder > Other > Folder and press Next button
4) in Folder Name text field type 'a/b'
5) right click the 'a.b' node
6) choose New > Java Class
7) fill Class Name and press Finish
ERROR: the class doesn't appear under 'a.b' node

In this case I reproduce it on #200408151800 trunk build.
Comment 3 Milan Kubec 2004-08-17 09:19:15 UTC
Reproducible for me in Beta 1 Candidate 200408170540.
Comment 4 Petr Hrebejk 2004-08-17 13:59:21 UTC
Cool it really works. However if you create a package insted of a
folder everything is OK. Will look at it.
Comment 5 Petr Hrebejk 2004-08-17 16:15:47 UTC
Checking in
src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java;
/cvs/java/project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java,v
 <--  PackageViewChildren.javanew revision: 1.27; previous revision: 1.26
done
Comment 6 Martin Schovanek 2006-06-30 11:57:49 UTC
v.