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 63492 - Wrong listening on changes in sources hierarchy.
Summary: Wrong listening on changes in sources hierarchy.
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
Depends on:
Blocks: 61674
  Show dependency tree
 
Reported: 2005-09-01 10:44 UTC by Milan Kuchtiak
Modified: 2007-09-26 09:14 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 Milan Kuchtiak 2005-09-01 10:44:04 UTC
This is quite visible when working with web services.

Steps to reproduce :
1. Create a WS Client in java project
   (use URL:"http://www.progem.bg/BGTrans/services.wsdl" and set up the proxy)
2. Call Web Service from Main Class
   (use Web Service Client Resources -> Call WS Operation action)
3. Add build/genearted/wsclient directory to project sources
   - see that code completion works in Main.java for bg.SOAP object
4. Clean project 
   - build/genearted/wsclient is removed)
   - error stripes appears in editor (that is OK)
5. build project -
   - build/genearted/wsclient package is generated again
   - error stripes disappears from editor (that is also OK)
   - code completion for bg.SOAP is broken (that is bad)
Comment 1 Tomas Zezula 2005-09-01 13:19:41 UTC
Nothing to do with project system, it seems that the IDE does not get events
from filesystems, the cleaned (deleted) classes are in the files view.
Reassigning to j2seproject for now but probably filesystems are the right module.
Comment 2 Jesse Glick 2005-09-01 18:28:24 UTC
Definitely not j2seproject. I have noticed problems refreshing the Files view of
a suite project after cleaning. Sounds like FS refresh bug to me.
Comment 3 Tomas Zezula 2005-09-05 14:06:20 UTC
This issue has two parts:
1) The filesystem does not fire fileDeleted() 
2) JMManager does not update its state when it gets the PROP_ROOTS from the
MergedClassPath which contain the generated source root.
The #2 may be a consequence of #1 the JMManager does not get PROP_ROOTS when the
root was deleted. Please evaluate and if so reassign to filesystems.

Comment 4 Tomas Zezula 2005-09-14 17:23:25 UTC
The issue #64363 may be related to this, not sure.
Comment 5 Martin Matula 2005-09-29 23:02:12 UTC
Fixed.

Checking in src/org/netbeans/modules/javacore/RepositoryUpdater.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/RepositoryUpdater.java,v 
<--  RepositoryUpdater.java
new revision: 1.40; previous revision: 1.39
done
Comment 6 Max Sauer 2007-02-14 17:18:15 UTC
This has become obsolete with interduction of Retouche.
---
NetBeans IDE Dev (Build 070214)
1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 7 Quality Engineering 2007-09-20 12:50:39 UTC
Reorganization of java component