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.
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.
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.
We must change superclass for WebInfLoader to MultiFileLoader
Created attachment 13242 [details] patch for case with WEB-INF renaming
I want to review this in detail prior to integration. I will get to it as soon as I can, till then please wait.
Fixed by the new Ant-based projects.
v