Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAD and Manifest entries

 
Bryon Phinney
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would someone specify which entries are required and which are optional in the JAD and Manifest files? My understanding is that some entries must be in both.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Download the user's guide and look at Table 1.2 (MIDlets attributes) on page 1-16. You will find all (required/optional) attributes of the JAR and JAD files.
 
Eric Giguere
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, only some of them are required in each case. However, there are some devices/emulators which seem to require more than just the ones listed in the spec. The safest thing seems to be to duplicate all the entries in the manifest in the JAD file as well.
The complete set of attributes for both the application descriptor and the manifest is found on pp.49-52 of my MIDP book.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic