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.

Bug 135131 - Support for phoneME (CLDC) and phoneME Advanced (CDC)
Summary: Support for phoneME (CLDC) and phoneME Advanced (CDC)
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@mobility
URL:
Keywords: PLAN
Depends on:
Blocks:
 
Reported: 2008-05-15 10:52 UTC by Karol Harezlak
Modified: 2010-04-05 04:02 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karol Harezlak 2008-05-15 10:52:06 UTC
Support for phoneME (CLDC) and phoneME Advanced (CDC)
Comment 1 msc2000 2010-04-05 04:02:21 UTC
I do not know exactly what is being planned for this. I have some suggestions based on difficulties I have faced using NetBeans & phoneME to debug our JSR 184 & 297 implementations.

1. Need to be able to easily install the "Java ME SDK 3 binding to PhoneME MR4" plugin and any equivalent plugin for phoneME Advanced. I had to jump through considerable hoops to get it installed. This should be very easy to add.

2. Very, very important for anyone using phoneME to develop system classes i.e., classes embedded in the JVM, is an ability to run a jar/jad file while running a java debugger on the system classes. This is because we often do not have source for applications that we need to run to test the system classes we are developing.

We need something like the run jar/jad functionality in the JME SDK but with also the possibility to tell NetBeans to connect the debugger *before* it runs the jar/jad file.

I attempted to do this with the following steps

a) Create a WTK project from a JAR/JAD file using the tool in the SonyEricsson SDK.
b) Create a NetBeans project by importing that WTK project to NetBeans

but encountered several problems, including
- the compiled classes were not imported to the NetBeans project
- the manually copied class files were deleted by NetBeans when it
  "built" the project. By replacing the classes after NetBeans has
  successfully "built" the project, I could get it to run.

  I could not run under debug though, because in that case NetBeans
  always thinks the build has failed so always tries to rebuild, thus
  deleting the class files.

I think some kind of NetBeans project is needed, even in this case, to give one a place to enter the directories where the debugger can find the system classes' source. On the other hand it would be nice to enter this information just ONCE for phoneME and have any project use it.

When will phoneME support appear in NetBeans? 6.9?