05-27-2013 07:45 PM - edited 05-27-2013 08:13 PM
I used the option to exertnalize the build id of the bar-descriptor. I assumed that this would auto-increment, but that is not the case.
Adding extra info that I am using Momentics.
Anyone know how I can now make this file auto-increment the build id?
05-27-2013 08:12 PM - edited 05-27-2013 08:19 PM
You don't mention specifically whether you're using Momentics for this or not. For command line use, at any rate, you can modify your bar-descriptor.xml file to contain <buildIdFile>_buildId</buildIdFile> where "_buildId" is any filename, and prepopulate the file with a number (e.g. 0). Then any time you run blackberry-deploy with that bar-descriptor file, it will use the current build number, then autoincrement it in the specified file for next time.
Momentics can use this as well, though I don't recall how, off-hand.
Edited: OP modified his post after my original reply.
05-27-2013 08:23 PM