Automatically Incrementing Java ME Application Version Attributes

See Also

The IDE has a built-in method that allows you to automatically increment the MIDlet-Version attribute in the JAR file each time you deploy the application. This is useful for mobile devices that check for updates of installed applications. Incrementing the value of the MIDlet-Version attribute enables such devices to automatically detect a new version when you deploy the application.

To automatically increment MIDlet-version with each deployment:

  1. Right-click on a project in Projects view and choose Properties.
  2. Choose Attributes from the Category menu tree.
  3. Select the MIDlet-Version field in the General Attributes table and click the Edit button.
  4. Enter ${deployment number} in the Value field.
  5. Click OK.
See Also
About Java ME Deployment

Legal Notices