Skip to main content

About CLDC mode in NetBeans (issue 128)

1 reply [Last post]
Anonymous

Hi All,

NetBeans IDE with Mobility Pack allows us to create project files for
exported tests in MIDP mode, and build, run and debug them with IDE
assistance.

However, pure CLDC mode is not purely supported in Mobility Pack. First,
user have to add "Custom Java ME Platform" and specify commands for
preverifying, running and debugging. I've tried to do this for phoneME
Feature 1.1 VM and it was tricky.
Second, the user have to put MIDP classes on classpath in pure CLDC
mode. Without MIDP classes NetBeans IDE doesn't register new custom Java
ME platform.

So, Mobility Pack doesn't fit very well pure CLDC. Maybe we should use
'Free form Java project' template for pure CLDC mode? With free form
project we can do exactly what we want in order to run and debug our
CLDC application. But if we want to support custom CLDC platform, we
have to reinvent the Ant Mobility Extension for NetBeans IDE (which is
used in Mobility Pack). Or we will provide the build script which works
only with our phoneME CLDC VM.

Any other idea about pure CLDC with NetBeans IDE?

Thanks,
Dmitri.

---------------------------------------------------------------------
To unsubscribe, e-mail: meframework-unsubscribe@cqme.dev.java.net
For additional commands, e-mail: meframework-help@cqme.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Terrence Barr - Evangelist, Java Mobile & Embedded

Dimitri,

Not sure if this helps you but I'm working on integrating phoneME Feature
with NetBeans. Until phoneME Feature supports UEI (for easy NetBeans
integration) you can set it up manually. I have also built a special
phoneME Feature binary with debugging enabled.

For instructions, see here:

https://meapplicationdevelopers.dev.java.net/how_to_run.html

(move down to the "Integrating phoneME Feature Into NetBeans" section)

-- Terrence

Dmitri Trounine wrote:
> Hi All,
>
> NetBeans IDE with Mobility Pack allows us to create project files for
> exported tests in MIDP mode, and build, run and debug them with IDE
> assistance.
>
> However, pure CLDC mode is not purely supported in Mobility Pack. First,
> user have to add "Custom Java ME Platform" and specify commands for
> preverifying, running and debugging. I've tried to do this for phoneME
> Feature 1.1 VM and it was tricky.
> Second, the user have to put MIDP classes on classpath in pure CLDC
> mode. Without MIDP classes NetBeans IDE doesn't register new custom Java
> ME platform.
>
> So, Mobility Pack doesn't fit very well pure CLDC. Maybe we should use
> 'Free form Java project' template for pure CLDC mode? With free form
> project we can do exactly what we want in order to run and debug our
> CLDC application. But if we want to support custom CLDC platform, we
> have to reinvent the Ant Mobility Extension for NetBeans IDE (which is
> used in Mobility Pack). Or we will provide the build script which works
> only with our phoneME CLDC VM.
>
> Any other idea about pure CLDC with NetBeans IDE?
>
> Thanks,
> Dmitri.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: meframework-unsubscribe@cqme.dev.java.net
> For additional commands, e-mail: meframework-help@cqme.dev.java.net
>
>
[terrence.barr.vcf]
---------------------------------------------------------------------
To unsubscribe, e-mail: meframework-unsubscribe@cqme.dev.java.net
For additional commands, e-mail: meframework-help@cqme.dev.java.net