Community
Participate
Working Groups
Build ID: M20080221-1800 Steps To Reproduce: 1. Create a new java project 2. On the perspective of "Mobile Tools for Java" click with the right button of the mouse on the created project 3. Press the item to convert to MIDlet project inside the "Mobile Tools for Java" submenu. The project should be converted in the correct format. If it is an eclipse ME project the JAD file should be removed because it is no more used. The wizard to convert should appear properly. And if is configured to automatically create resources folder, the folder should be created. More information:
Hi Edwin, The "convert to MIDlet project" option inside the "Mobile Tools for Java" submenu is supposed to convert Java Project, not EclipseME projects. In order to convert previous existing EclipseME projects, the import wizard must be used. I don't think this is a bug, as it was not on our requirements, however, I think this is an interesting feature to add in the future. Therefore I'm reclassifying this bug to enhancement, and target milestone to futute.
how to avoid Convert to MIDlet Project error 1. Uninstall EclipseMe 2. Remove From Build Path "Persisted container[J2MELIB for project xxx ]" 3. Convert to MIDlet Project is Ok
can we consider then this bug to be convert an eclipseME project into an mtj project? since that, if the "convert to midlet project" would be changed to identify that the project is an eclipseme project and then convert it automatically.
Hello everyone, I will take a look on this issue, and will submit a patch with this issue solved.
Created attachment 119041 [details] Patch with bug fix I have a final patch for this issue, may someone revise it please ? Thanks David Marques
just reviewed the patch. below are some comments: - changes from patch https://bugs.eclipse.org/bugs/show_bug.cgi?id=255542 are mixed on this patch. it would also be nice to remove the changes on midletsuitefactory - the patch also created a message.properties on the core plugin. this was really nice - there is now a classe to do project conversion, but the class only converts eclipseme to mtj. it would be nice that the ui code that converts java to mtj would also be moved to this class
Created attachment 119186 [details] Patch with suggested changes Hello everyone, I am sending a patch with the suggested changes. [], David Marques
Comment on attachment 119041 [details] Patch with bug fix A new patch with several improvements is attached.
changes committed to svn
bug released into 0.9.1