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 45771

Summary: Renaming servlet doesn't affect DD
Product: javaee Reporter: zikmund <zikmund>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: CLOSED FIXED    
Severity: blocker Keywords: RANDOM
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description zikmund 2004-06-30 17:29:34 UTC
Build 200406301800

1) Have a WebApp with a servlet
2) Rename the servlet file in Projects explorer
3) Refactoring appears
4) ERROR: no DD info synchronization
Comment 1 Milan Kuchtiak 2004-07-01 13:55:33 UTC
It's happaning sometimes, but I don't know under which circumstances.
I need to investigate that more.
Comment 2 Petr Jiricka 2004-07-01 16:02:32 UTC
I'd guess it's caused by the fact that the filesystem listener is
registered in the DDDataObject constructor. If the user uses features
that need the DD, this will work. If the DDDataObject is not created
and initialized, the listener is not registered and this feature does
not work.
Comment 3 Milan Kuchtiak 2004-07-01 16:11:54 UTC
Thank's Petr - you hit the nail on the head.
Comment 4 Milan Kuchtiak 2004-07-07 09:13:59 UTC
Fixed.
Comment 5 zikmund 2004-07-09 14:48:26 UTC
Verified.