JavaME dev completely broken in 8.0M1 ?

Or rather, it is On My Machine (tm): The mobile SDK packages are found
(and autocomplete works for packages), but no classes. Libraries are
visible in the project-tree, and can browse through them just fine.
Tried re-creating the project, the mobile sdk - no joy.

If I re-open the project in 7.0 (#7930) all is fine.

Is there some sort of 'know issues' document? Couldn't find it.

--

Groeten,
Edwin

4 comments
Comment actions Permalink

Hello Edwin,

Works for me.

What exact is broken? Code Completion? Can you compile and run your project?
Which sdk do you use?

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Or rather, it is On My Machine (tm): The mobile SDK packages are found
(and autocomplete works for packages), but no classes. Libraries are
visible in the project-tree, and can browse through them just fine.
Tried re-creating the project, the mobile sdk - no joy.

If I re-open the project in 7.0 (#7930) all is fine.

Is there some sort of 'know issues' document? Couldn't find it.



0
Comment actions Permalink

Anna Kozlova wrote:

Works for me.
What exact is broken? Code Completion? Can you compile and run your
project? Which sdk do you use?


For some reason IDEA cannot find any classes in the wtk libs - so code
completion doesn't work, and compilation doesn't either. The odd thing
is, code completion does work for the packages - just not for the
classes - so I can autocomplete all the way through
javax.microedition.lcdui., but 'Command' isn't found.

I'm using Sun WTK 2.5.2 (on Linux). I can see the jars & classes in the
tree, but that's it.

Just realized: it's only the 'system' classes that are affected: so
javax.microedition.location.LocationProvider is found, but
javax.microedition.midlet.MIDlet (and java.lang.System, even!) isn't.

--

Groeten,
Edwin

0
Comment actions Permalink

Edwin,

Seems that sdk was not configured properly. Could you please check sdk classes
- seems that smth is wrong with configured jars.

As a workaround you may try to replace USER_HOME/IntelliJ IDEA 8M1/config/options/jdk.table.xml
with one from 7.0

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Anna Kozlova wrote:

>> Works for me.
>> What exact is broken? Code Completion? Can you compile and run your
>> project? Which sdk do you use?

For some reason IDEA cannot find any classes in the wtk libs - so
code completion doesn't work, and compilation doesn't either. The odd
thing is, code completion does work for the packages - just not for
the classes - so I can autocomplete all the way through
javax.microedition.lcdui., but 'Command' isn't found.

I'm using Sun WTK 2.5.2 (on Linux). I can see the jars & classes in
the tree, but that's it.

Just realized: it's only the 'system' classes that are affected: so
javax.microedition.location.LocationProvider is found, but
javax.microedition.midlet.MIDlet (and java.lang.System, even!) isn't.



0
Comment actions Permalink

Anna Kozlova wrote:

Seems that sdk was not configured properly. Could you please check sdk
classes - seems that smth is wrong with configured jars.


I tried configuring a new Mobile SDK - compiling/building/running works,
but the CLDC/MIDP classes still show up as 'red' (and no autocompletion,
quick lookup etc.)

Btw - the sdk-jars themselves are fine - I use that setup on a daily
basis (in idea 7.0.4/b7938).

As a workaround you may try to replace USER_HOME/IntelliJ IDEA
8M1/config/options/jdk.table.xml with one from 7.0


That doesn't make a difference - same problem, i.e., compilation works,
but all the MIDP/CLDC classes show up as 'red'

I made a simple 'hello world' MIDlet/project - in 7.0.4/b7938 this works
just fine, in 8.0m1 it doesn't.

Please let me know if there is anything else I can try!

--

Regards,
Edwin

0

Please sign in to leave a comment.