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.
In order to fix issue #154892, changes in Web API are needed. In org.netbeans.modules.web.spi.webmodule.WebModuleImplementation, one cannot listen on changes of document base and WEB-INF properties. I suggest creating of WebModuleImplementation2 (extends WebModuleImplementation) with 2 constants (DOCUMENT_BASE and WEB_INF) and 2 methods (addPropertyChangeListener() and removePropertyChangeListener()). This new interface will be implemented in Web project as well as in Web Freeform project. Thanks a lot.
Update: a new, separate issue has been filed - issue #155212.
Integrated into 'main-golden', will be available in build *200812121401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2c6d14730e82 User: Tomas Mysik <tmysik@netbeans.org> Log: Part of #154892: reflect.UndeclaredThrowableException at $Proxy1.fileChanged For complete fix, issue #154944 must be fixed.
Since some code already been checked in to the repository I am setting the target milestone as 7.0
Core webapps issue, assigning to Petr S.
WebModule API change... Should be done in early days of 6.8 M2...
Davide, do you think we should do it at this point?
Added to recently introduced WebModuleImplementation2 interfaces and fixed all implementations (known to me). Let me know if something else gets broken by this change and I will fix it. d10273bbed23
Integrated into 'main-golden', will be available in build *200909221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d10273bbed23 User: David Konecny <dkonecny@netbeans.org> Log: #154944 - Not possible to listen on project folders (web pages, WEB-INF) WebModuleImplementation2 has been added in NB6.8 and was not part of release yet so I'm making "incompatible" changes there