if i install netbeans with features-on-demand enabled, i can't work with mobility. whenever i try to open a j2me
project, it shows up as "broken", and details give the following error:
Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.mobility.end2end.kit jarFile:
i can't enable the mentioned end2end-kit from Plugins dialog either - attempts to activate Java ME component end with
the same error.
if i disable features-on-demand when installing, mobility works fine
this happens in ubuntu linux (tested in 8.04, 8.10 and 9.04) on both 32bit and 64bit machines. jvm is sun java 6, latest
version (but it happened on previous versions too).
this bug was present ever since i started playing with 6.7, which would be something like Milestone 8 (i think? was
there even a milestone8? definitely before beta, though)
I can't reproduce this issue. Mobility End To End plugin is successfully activated while opening a Mobile Application.
Product Version: NetBeans IDE 6.7 RC3 (Build 200906100001)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Linux version 2.6.27-7-generic running on i386; UTF-8; en_US (nb)
OS: Ubuntu 8.10
Could you please attach a sample project with which the issue is reproducible for you? Thanks.
i can reproduce it even when i'm creating new project.
i did some tests and it appears that when java web+EE is installed, it works. so steps to reproduce would be:
1. start netbeans 6.7 installation (i have rc2, that's the newest one available for download)
2. choose only the following components:
- base IDE
- java SE
- java ME
- features on demand
4. start netbeans, try to create a new j2me project
(on a side note, activating the mobility component takes too long, and i can see no significant speedup without it. so
for me it's faster to have it always active regardless of what i'm working on)
Yes, the issue is well reproducible by following the steps above on Windows as well. Thank you!
The simplest way is to remove the mobility.end2end.kit module. I don't see a reason for its existence, but maybe you can think up one. If not, then I suggest to remove it and keep just mobility.end2end which will enable itself properly when mobility and web is enabled, because it is eager.
OK, after our discussion I've removed mobility.end2end.kit module
fixed in http://hg.netbeans.org/jet-main/rev/dc5d1193fc95
Integrated into 'main-golden', will be available in build *201010010000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Log: fixed issues #166807 end2end kit can't be enabled when features-on-demand are active and #161355 Please consider making the Mobility End to End module invisible