Converting an existing project to an EclipseME project
by, 11-03-2011 at 07:32 PM (1052 Views)
Eclipse provides ‘Convert to J2ME Midlet Suite’ from the project pop-up menu to convert an existing Java project to EclipseME project. Let me show how to do that.
When you select ‘Convert to J2ME Midlet Suite’’, you will be prompted for the appropriate device definition by the EclipseME plug-in. This plugin will then make the required changes to your project.
When you convert a J2SE project to an EclipseME project, the J2SE libraries have to to be removed from the build path since they are not supported by J2ME. On identification, EclipseME will remove them automatically. Sometimes EclipseME fails to remove the J2SE libraries, you will then need to do this yourself.
EclipseME is intelligent enough to add the appropriate J2ME libraries to your project automatically. The depends on selected device definition. If you were using Eclipse to do J2ME programming prior to converting your project to use EclipseME, your project may still have the J2ME libraries in the build path. If so, you need to remove them.