I spun up a quick 1.7.0.a version with a fix for the Midlet MANIFEST.MF builder issue. I have not done anything with the res folder issue. Can you check and make sure that it is actually being exported?
Markus Sinner wrote: > Hello there, > > i analysed the files, which where generated by eclipseME on Marcel's > version. These errors still persist in 1.7.0, both on Windows and Linux > Versions! I first saw these problems coming with 1.6.8d. > > It seems, that this problem here is the same problem as one i mentioned > some days before. > > If you choose J2ME->Create Package out of the context-menu, then an > incomplete/invalid JAR is created. Firstly, it does NOT contain the > "MIDlet-1:" line in the JARs manifest. Secondly, it does NOT contain > files from the directory "res/". > > These two errors do NOT appear if you do a clean on the projekt and let > it automatically build. Then the created JAR in deployed is valid. > > I hope this bug can be corrected soon, as it will cause many > support-questions. > > @Craig: you should take the version 1.7.0 from the server until these > bugs are corrected. > > Greetings, > Markus > > Marcel Ruff schrieb: > >> Thanks for the details, but it seems that the entry >> >> MIDlet-1: ... >> >> is not copied into the MANIFEST.MF file by eclipseme 1.6.8d (Linux). >> Other settings like >> >> MIDlet-Description: bla >> >> however are nicely copied from my JAD into the MANIFEST.MF, >> >> regards >> Marcel >> >> >> Markus Sinner wrote: >> >>> You have to specify the Midlet in the source JAD-File of your project, >>> in the root of the project. Then, after creating a package, the >>> created JAR in the deployed directory contains all needed information >>> in the manifest. >>> >>> You cannot push a JAD-File over bluetooth by nature: JAD-Files are >>> used for deploying "over-the-air" (OTA). The JAD-File is only used to >>> find out where to download the JAR, an optionally to sign the >>> Application. So, if you push a JAD to a phone, the phone would try to >>> download the application from the URL speficied by MIDlet-Jar-URL. >>> >>> Hope that helps. >>> >>> Marcel Ruff schrieb: >>> >>>> Hi, >>>> >>>> i'm developing under Linux and deploy the xy.jar J2ME application >>>> over bluetooth to my Sony Ericsson K320i (with kbtobexclient). >>>> >>>> As i don't use any xy.jad file (strange: using one works fine when >>>> downloading but not when pushed over bluetooth) the MANIFEST.MF >>>> is used. >>>> >>>> Using a MANIFEST.MF generated by netbeans works fine. >>>> >>>> The eclipseme generated MANIFEST.MF does not contain following entry: >>>> >>>> MIDlet-1: J2meT3,,t3.t3Midlet >>>> >>>> and the Sony says: "invalid application" >>>> >>>> Adding the line manually and all works fine. >>>> >>>> What can i do? >>>> >>>> Thanks >>>> Marcel >>>> >>>> >>>> >> > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
