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.
Summary: | Client node missing in Maven Simple project | ||
---|---|---|---|
Product: | webservices | Reporter: | Jaroslav Pospisil <jpospisil> |
Component: | Client | Assignee: | Milan Kuchtiak <mkuchtiak> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jtulach, mkleint, pjiricka |
Priority: | P2 | Keywords: | ERGONOMICS, REGRESSION |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jaroslav Pospisil
2009-02-03 15:54:37 UTC
Fixed: http://hg.netbeans.org/main?cmd=changeset;node=0690f5b6f2a0 BTW; the wsdl URL you reference here sometimes doesn't work so Netbeans doesn't create a client for it. Still reproducible in latest hudson build. Reopening. Related a little with ERGONOMICS feature. Evaluation: maven.jaxws is a "bridge" module between JAX-WS support and Maven support in enterprise cluster. This module registers a LookupProvider / OpenHook) for Maven projects. When the Maven project is being open, the listener(for pom.xml file), is registered in OpenHook:projectOpened() In this particular situation : When Maven project is being open - the maven cluster is activated only, not enterprise cluster When a web service client is created (using WS Client wizard) the enterprise cluster (including maven.jaxws module) is activated. Then, the project file(pom.xml) file is modified(some information related to WS Client is added). Problem is that maven project is already opened, so OpenHook:projectOpened(), registered in maven.jaxws, is never called, and listener doesn't fire the change event, since it hadn't been registered. Tell me what to do with that ? maven.jaxws depends on both: modules from enterprise cluster and modules from maven cluster. Moreover, now the module is "eager" - it's automatically activated when all depending modules are activated. We need likely to divide maven.jaxws into 2 modules. The pom file listener was removed from OpenHook implementation : http://hg.netbeans.org/main?cmd=changeset;node=ed8167aee1a3 Integrated into 'main-golden', will be available in build *200902241401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ed8167aee1a3 User: mkuchtiak@netbeans.org Log: #157849: refactor Maven JAXWS support: move pom file listener from Project OpenHook to createAdditionalLookup(), separate JaxWsOpenHook v. Reopening,since there's ws client node missing again. Workaround - reopen project. JaxWsNodeFactory listener doesn't work in ergonomic case : - Maven Web project is created/opened - Web Services modules, including maven.jaxws, are installed We need to hook somehow into JaxWsNodeFactory. Stop by if you need help or consultation. Fixed. - LookupListener implemented to enable listener registration when project lookup is filled - move all stuff from JaxWsOpenHook to MavenJaxWsSupportProvider Details: http://hg.netbeans.org/main/rev/a16ec2b36ebd Integrated into 'main-golden', will be available in build *200904281401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a16ec2b36ebd User: mkuchtiak@netbeans.org Log: #157849: take out annotation listeners from OpenHook implementation, implement LookupListener in Node Factory v. It was OK-once with already used userdir. When I've tried exact steps,issue is still reproducible. Now the problem is valid also for web projects. Issue is not reproducible again in 200905050201 - closing as fixed and will try to verify next week. This issue keeps returning again and again, cause originating from Ergonomics,so I expect to see it reopened again in future. There was a bug in Maven project that likely caused the latest regression. I also improved the listener part: http://hg.netbeans.org/main/rev/1d842d18557d Integrated into 'main-golden', will be available in build *200905090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1d842d18557d User: mkuchtiak@netbeans.org Log: #157849: improve the listener part of the class v. |