07-29-2009, 10:19 PM
|
#1 (permalink)
|
| Thumbs Must Hurt
Join Date: Jun 2008 Model: 8820 PIN: N/A Carrier: AT&T
Posts: 72
Post Thanks: 0 Thanked 0 Times in 0 Posts
| how to force jad file to be re-generated on each build Please Login to Remove! I am using Eclipse with the BlackBerry plugin. Each time I build the active BlackBerry project (Alt+B) it appears that Eclipse re-writes the jad file (the timestamp on the file changes), but the contents of the jad file is not re-written!
I am using the version string in the BlackBerry project properties to contain the version of my program. But I just discovered that even though I change the version string in the properties window (and I can verify that the value was changed by looking in the jdp file), when I build the active BlackBerry project, the MIDlet-Version string in the jad file does not get changed. Yet if I delete the jad file and rebuild the BB project, then the jad file is written with the correct version string.
It would really be nice if the build correctly wrote the jad file, but short of that, how can I automatically have the jad file deleted? As a matter of procedure, I typically do a project clean and build all, before building the acitve BB project. Is it possible to change the clean procedure in Eclipse to make it delete the old jad file? Is there another/better solution?
By the way, RIM - the fact that you do not correctly write the version string to the jad is a BUG !! |
| Offline
| |