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.
Created attachment 93850 [details] Exception when Jersey lib should be added to RCP module See the attached exception.
The exception is caused by fact that Jersey REST library, together with JAXB API and JAXB Lib are unavailable in NBSuite. We need to display warning message in that case. Is there any programmatic way to activate those modules automatically (May be after a user approval)?
Fixed. Details: http://hg.netbeans.org/main/rev/748ac4df59b6 and http://hg.netbeans.org/main/rev/447a40382bf9
(In reply to comment #1) > Is there any programmatic way to activate those modules automatically (May be > after a user approval)? Not from ClassPathModifier, I think; this is a synchronous call which ought not display a dialog. Perhaps the requisite module could be included in the suite without confirmation, but that seems hazardous; and just adding the dep without including it will mean that the module will not build until the suite config is changed. http://wiki.netbeans.org/EnhancedConfigurationOfNBRCPProjects#Jesse.27s_.28more_or_less_unrelated.29_proposal_for_dependency-based_module_includes would obviate the issue. There is no issue for Maven-based projects that I know of.
Integrated into 'main-golden', will be available in build *201002050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/748ac4df59b6 User: mkuchtiak@netbeans.org Log: #180271: Fixing problem with Jersey libraries registration
Thanks, So right now the dialog appears (see the attachment). The user has to check in the required modules, in NBSuite, then repeat the action again.
Created attachment 93900 [details] Warning dialog
v.