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.
Steps to reproduce: - start full IDE with fresh user dir - create welcome sample project See: - C/C++ code assistance disabled Expected: - enabled code assistance IDE info: >Log Session: Friday, January 4, 2013 4:16:03 PM MSK >System Info: Product Version = NetBeans IDE Dev (Build 20130104-e78203df8226) (#e78203df8226) Operating System = Linux version 3.2.0-35-generic running on amd64 Java; VM; Vendor = 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0_10-b18 Java Home = /usr/lib/jvm/jdk1.7.0_10/jre System Locale; Encoding = ru_RU (nb); UTF-8
I was able to reproduce it with full IDE (with ergonomics)
OnStart initializer is not being called when c++ plugin is activated, checking why this is happening
org.netbeans.modules.cnd.modelimpl.Installer.Start marked as OnStart but is not called when C++ module is activated, reassigning to platform for evaluation
No way. Evaluate first and when you find problem in platform, reassign.
I think the problem is: runnable marked with OnStart annotation is not called on module activation (with ergonomics enabled)
The code to call @OnStart on module activation is there: core.startup/src/org/netbeans/core/startup/NbStartStop.java
true, and the problem is that when the module activates, "Modules/Start" lookup does not get updated (or does not receive update notification)
it is funny that when the IDE closes it finally invokes OnStart and OnStop for the module simultaneously, I do not see what can be fixed on cnd side
Please verify ergonomics#60f455831a04, so I can backport it.
Now it works fine, thanks!
Integrated into 'main-golden', will be available in build *201301160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/60f455831a04 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #224479: Need to refresh named services everytime a module is enabled
Waiting for verification.
(In reply to comment #12) > Waiting for verification. I think you can proceed with integration, Egor has already confirmed it works.
Merged as 75eed0be48f2
Integrated into 'releases', will be available in build *201301162100* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/60f455831a04 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #224479: Need to refresh named services everytime a module is enabled
According to steps to reproduce, this is not reproducible in NetBeans IDE 7.3 RC1 (Build 201301202100) -> verified.