Community
Participate
Working Groups
Created attachment 104145 [details] Exception Log Multiple failures when importing the 2.0.2 ?Microemu release into MTJ. Files "/emptyapi/cldcapi11.jar" and "/emptyapi/midpapi20.jar" can't be found leading to a NullPointerException when storing the devices that avoids the microemu to be imported correctly.
Created attachment 104146 [details] Device storing Error
Created attachment 106727 [details] Sets up the classpath correctly Just a proposal...
hi dan, thanks for the patch. it solves the import and the project creation, but we can't use it to compile the classes. the main problem are the cldc classes that are still missing. it seems that we also need to change the microemu.property file to include the cldc jars on classpath property. i will do the test later to see if it solves the problem. :) gep
Created attachment 106806 [details] Properties patch Sorry, forgot to add the modified .properties file.... here it is
Created attachment 106807 [details] Properties patch, to be used inconjunction with importer patch Sorry, forgot to add the modified .properties file.... here it is
hi dan, it solve the import, but there are still problems with the preverification and the execution of the emulator. the main problem seems to be that the stubs that are provided with microemu are not preverified, so when we try to run the preverifier on the midlet classes it just fails (i tested it with a standard sun preverifier). on the end of this month we wll have access to some stubs that we will be able to use directly on mtj. on that time we will come back to this bug to see if using those stubs fix the whole problem. :) gep (In reply to comment #5) > Created an attachment (id=106807) [details] > Properties patch, to be used inconjunction with importer patch > > Sorry, forgot to add the modified .properties file.... here it is >
Hi Gustavo, I applied the patch for progard preverification (https://bugs.eclipse.org/bugs/show_bug.cgi?id=234139) and this, for me at least, allowed me to run midlets on mpowerplay, microemu and my N95. I have a slightly modified version of the patch that set's up the api names correctly for the jsr jars... would this be of any use to you. All the best, Dan
hi dan, we are still evaluating if it make sense to add the proguard preverifier to mtj (at least it is already implemented :)). do you think it add value to mtj developers? i'm not sure if you saw diego's email... diego is another committer on mtj project. we talked with microemu guys and they are going to do a 2.0.3 release that has a fix on microemu stubs. since that we want to commit your contribution to mtj and after that do some fixes on top of it (the information that diego requested is necessary by eclipse legal). once you send him that information he will commit the code. if you need some information, please let us know thanks :) gustavo (In reply to comment #7) > Hi Gustavo, > I applied the patch for progard preverification > (https://bugs.eclipse.org/bugs/show_bug.cgi?id=234139) and this, for me at > least, allowed me to run midlets on mpowerplay, microemu and my N95. > > I have a slightly modified version of the patch that set's up the api names > correctly for the jsr jars... would this be of any use to you. > > All the best, > Dan >
Hi, As proguard can both obfuscate and the necessary preverification, I think it adds great value to MJT (and potential optimisation and shrinking capabillities)... Especially since I use OS X, so the only viable options seem to be proguard or Mpowerplayer SDK for preverification... so I'm more keen to use MicroEmu (better JSR coverage) with proguard since it seems to work :) Just 2 cents worth :)
Hi Dan, your patch was integrated and will be available in the N20080725 Nightly Build. Thanks Diego
all bugs we integrated and release on MTj 0.9