Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Manifest.MF?

 
Anthony Yulo
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whats the Manifest.MF file for? I recognized it on all the example apps that came with WTK2.1
Do I need that when im deploying midlets?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Manifest file is required for the Jar file. It defines a lot of what the JAD file can define, but sometimes you only have the Jar, so the Manifest is the only thing that the device can read. If there isn't one in the Jar file, then how can the mobile device know which is your MIDlet(s) and which aren't.

Mark
 
Anthony Yulo
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so how do i make a Manifest.mf?

I'm using a Nokia Developer Suite.. and when i create a package, the only things that the program generates are the .jad and .jar files?

I installed the package thru bluetooth(Nokia PC Suite). I only copied the .jar file , the program runs OK in my celfone.. So, it seems i don't need the Manifest.mf anymore? or is is already inside the .jar file?
 
vishwas bhatt
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Anthony ,

Just unflate your Jar File you will get your answer.

Ok?
 
dan moore
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
btw, it's actually 'MANIFEST.MF' (i.e. case sensitive) - i had grim problems when i was adding my manifest file in the wrong case...

cheers, dan.
 
Robert Virkus
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are tools out there which create JAD and MANIFEST files automatically for you, e.g. J2ME Polish (www.j2mepolish.org), which is based on Ant and can do some other nifty things as well.

Best regards,
Robert
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic