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:
MIDlet-Version
field in the General Attributes table and click
the Edit button. ${deployment number}
in the Value field.