This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Manifest.MF? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Manifest.MF?" Watch "Manifest.MF?" New topic
Author

Manifest.MF?

Anthony Yulo
Ranch Hand

Joined: Feb 22, 2003
Posts: 52
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?


it's alright, the gun isn't loaded... - hey
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Anthony Yulo
Ranch Hand

Joined: Feb 22, 2003
Posts: 52
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

Joined: Nov 30, 2000
Posts: 129
hi Anthony ,

Just unflate your Jar File you will get your answer.

Ok?
dan moore
Ranch Hand

Joined: Nov 04, 2001
Posts: 68
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.


dan moore, infomatiq ltd.<br />email dan@infomatiq.co.uk<br /><a href="http://www.infomatiq.co.uk" target="_blank" rel="nofollow">http://www.infomatiq.co.uk</a>
Robert Virkus
Greenhorn

Joined: Jun 26, 2004
Posts: 16
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


J2ME Polish<br />A suite of tools for J2ME developers.<br /><a href="http://www.j2mepolish.org" target="_blank" rel="nofollow">http://www.j2mepolish.org</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Manifest.MF?