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 39026 - Have to restart ide to recognize addition/deletion of web.xml or WEB-INF
Summary: Have to restart ide to recognize addition/deletion of web.xml or WEB-INF
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: vsh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-20 20:51 UTC by Chris Kutler
Modified: 2007-07-31 14:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch for case with WEB-INF renaming (5.43 KB, patch)
2004-02-04 13:08 UTC, vsh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Kutler 2004-01-20 20:51:59 UTC
From the command line, change the name of WEB-INF
to WEB-INFX. Open NetBeans. From the IDE, change
WEB-INFX back to WEB-INF. The web.xml file now is
recognized as the deployment descriptor but the
WEB-INF node does not have the WEB-INF icon (it is
still a folder). Restart the IDE, the icon now
appears correctly.

From the ide, delete the web.xml file. The mounted
dir structure is still recognized as a web module.
Restart the ide. The dir structure is now
recognized as a standard (ordinary) folder.
Comment 1 vsh 2004-01-30 15:38:30 UTC
These are two bugs - first about WEB-INF, second about web.xml.
Second bug is duplicate of 22460.
First bug happens because in WebInfLoader.handleFindDataObject 
DataObjectExistsException exception is not caught. 
Comment 2 vsh 2004-02-04 13:06:41 UTC
We must change superclass for WebInfLoader to MultiFileLoader
Comment 3 vsh 2004-02-04 13:08:14 UTC
Created attachment 13242 [details]
patch for case with WEB-INF renaming
Comment 4 Pavel Buzek 2004-02-06 18:58:33 UTC
I want to review this in detail prior to integration. I will get to it
as soon as I can, till then please wait.
Comment 5 Petr Jiricka 2004-07-26 18:52:00 UTC
Fixed by the new Ant-based projects.
Comment 6 Dan Kolar 2007-07-31 14:18:17 UTC
v