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 154944 - Not possible to listen on project folders (web pages, WEB-INF)
Summary: Not possible to listen on project folders (web pages, WEB-INF)
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords: API
Depends on:
Blocks: 155212
  Show dependency tree
 
Reported: 2008-12-08 16:00 UTC by Tomas Mysik
Modified: 2009-09-22 21:38 UTC (History)
2 users (show)

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 Tomas Mysik 2008-12-08 16:00:54 UTC
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.
Comment 1 Tomas Mysik 2008-12-11 16:29:55 UTC
Update: a new, separate issue has been filed - issue #155212.
Comment 2 Quality Engineering 2008-12-12 17:31:45 UTC
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.
Comment 3 Trey Spiva 2008-12-18 22:19:16 UTC
Since some code already been checked in to the repository I am setting the target milestone as 7.0
Comment 4 Petr Jiricka 2009-06-12 10:03:58 UTC
Core webapps issue, assigning to Petr S.
Comment 5 pslechta 2009-07-28 11:33:00 UTC
WebModule API change... Should be done in early days of 6.8 M2...
Comment 6 Petr Jiricka 2009-09-17 21:03:34 UTC
Davide, do you think we should do it at this point?
Comment 7 David Konecny 2009-09-21 05:45:34 UTC
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
Comment 8 Quality Engineering 2009-09-22 21:38:52 UTC
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