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 - Renaming servlet doesn't affect DD
Summary: Renaming servlet doesn't affect DD
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: Milan Kuchtiak
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-06-30 17:29 UTC by zikmund
Modified: 2006-03-24 09:46 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 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.