How to force the jad file to be regenerated for each version

I use Eclipse with the BlackBerry plugin.  Whenever I build the project active BlackBerry (Alt + B), it seems that Eclipse rewrites the file jad (the timestamp on the changes to the file), but the contents of the jad file is not re-written!

I use the version string in the BlackBerry project properties to contain the version of my program.   But I find that even if I change the version string in the Properties window (and I can verify that the value has changed by looking in the file jdp), when I build the active project of BlackBerry, the MIDlet-Version string in the jad file does not change.  Yet if I delete the jad file and rebuild the project BB, then the jad file is written with the correct version string.

It would be really nice if the build has successfully written the jad file, but short, how can I automatically have the deleted jad file?  As a matter of procedure, I usually do a project to clean and build together, before you build the active project BB.  Is it possible to change the Eclipse-specific procedure to remove the old jad file?  Is there a solution other/better?

In addition, RIM - the fact that you do not write correctly the version string for the jad is a BUG!

Thanks for the reply, but no, this link was not helpful.  There is no what I already know and have already said, with one exception - the problem, they talked was in the JDE and they suggested using the plugin - BAD NEWS - the plugin has the same BUG.

What I did to make it work, it is write a cmd file that removes the jad and a few other files and set the absolute path to the cmd in the field of pre-build of project properties.   NOTE that the commands of the del in the cmd file must all also the absolute path.  I tried initially have an order of cd's as the first line of the cmd file, but that has not changed the directory - all the following commands continued to be run from the directory where the file of jdw.  I also tried put an led with an absolute path command in the field of pre-build directly (rather than using a cmd file).  Any work the del command.

Tags: BlackBerry Developers

Similar Questions

  • How to rename the JAD file to eclipse MIDlet name

    Hi, expert,

    at the present time, our product team asks me to change the product name of the name of one to the other, I changed the title in the properties of the eclipse project and thought that's it. Cod file name was still the same as before.

    Then I discovered that I was wrong. The name options-> list of applications is still the old name. Then I change the COD file name (the name of the JAD file is also modified with it) and thought that I would be ok this time.

    I was denied again. The name on the download of air link always displays the old name and found out that the JAD stll MIDlet-name file has the old name and browser would use this name. Options-> application list, it still shows the old name. So I have to change the name of the MIDlet-name for the new name. However, I couldn't find a way. on the descriptor xml project, there is a tag called MainMIDletName, I changed to the new name:

    However it does not seem to help as well. After research, I found this link, but it does not say exactly how do without changing the name of the project that I really don't want to do:
    http://supportforums.BlackBerry.com/T5/Java-development/how-to-rename-JAD-in-JDE-Eclipse-without-ren...

    I have a few choice here? Any help would be appreicated.

    Hello

    To have the "MIDlet-Name" of the renowned JAD property, you will need to rename the project. Output file names can be changed via the BlackBerry_App_Descriptor.xml > Build (tab) > name of the output file (field).

    Kind regards

  • How to read the jad file property

    I am able to read the properties of the my application JAD file. My requirement is that through my application, I will download some other app via OTA, so is it possible to read the file property PPP through my application jad, I downloaded.

    you don't know. to download another app ota you need the address of the file jad online. with this you can download and analyze its contents.

  • How to force the vertical scroll bar to display on each page?

    Hello

    Is it possible to force the vertical scroll bar appears on each page, even if it is not needed?

    I have a site with pages larger than the browser window, and others which are smaller. The scroll bar appears only on adults and forcing elements from left to right on the left to navigate through the pages.

    Any help would be appreciated.

    Thanks in advance

    VM

    In the section header of Page Properties try adding the following code:

  • How to make a jad file and cod file to a single file for hosting on the web server

    Hello

    I want to make the jad file and cod file is a single file, which must be installed in the blackberry.

    When I load the jad without cod file file, it loads the app

    but when I load the jad file cod file, it loads the application on the blackberry device.

    I only want a single file to be uplaoded to the server for the installation of the application.

    Help, please

    I want it to install the web server to the BlackBerry smartphone.

    Thanks and greetings

    Anthony singh

    This is not possible, that both jad and cod is necessary to install an OTA application. the jad file contains a description of the application, the cod is the real application.

  • I know how to force the Spotlight for re - index a drive or a folder. But how then do I mail?

    I know how to force the Spotlight for re - index a drive or a folder.

    But how then do I mail? I drag this file to the window?

    Thank you.

    Try re-indexing of mailboxes mailbox. This can take some time if you have a lot of mail.

    Reindex messages           For El Capitan, try looking in V3.

    Reindex messages (2)        See post by Linc Davis

  • RIM-COD-SHA1 value to the jad file will not be checked during the on air download

    Hi, expert,

    I'm trying to see if the 2 following properties espeically the sha1 either activated or not during the over-the-air download of my aplication:

    RIM-COD-SHA1: 8 b 11 58 and 6 d 94 ee 4 c 94 27 09 57 95 1 b 1 c 80 2 b 45 38 f8 f7
    RIM-COD-size: 68020

    So I modified the value of sha1 of my jad file, to my surprise, actually the download will not check it at all and download was successful.  Actually the RIM-COD-size value is not matching the actual size of the cod file so. I suppose it could be due to some extra bytes added by signing. It is perhaps because of the same reason do not check the sha1 as well.

    But with all this, how BONES would be able to check the consistency between the JAD file and cod in case a COD file is corrupted? From my reading on the web, the sha1 is checked which is different from what I've seen during my obvious tests.

    Moreover, for on the airflow, after the signing, in fact we still use a single COD file that is in the results expected/standard eclipse folder (there is also one of expected/web results, but we don't use it) and then we rename the file .zip and extra cod all these cod file the zip and put all these cod and jad file on our server.

    I'm doing sth wrong here?

    Signatures added at the end of a COD file are not included when calculating the value of SHA1.  It is expected that the SHA1 of the JAD file values remain the same after the signing.

  • ProjectName - 1.cod in the JAD file

    Hi all:

    I can install my application using the Desktop Manager, and it works well.

    However, when I try to install the application by using OTA, in the jad file, there is a line like this:

    RIM-COD-URL-1: ProjectName - 1.cod

    It has always failed because my cod file is ProjectName.cod, not ProjectName - 1.cod.

    Can someone help me?

    Thank you!

    I suggest that you remove the file jad the directory where it is created by the JDE, then re build yourapplication.  This will force the JDE to rebuild your jad and you will probably find that he decided that your cod hasn't needed a child file from same parents.  From my experience, the JDE does not rebuild (but a few updates) the jad when you recompile.

    What level of JDE do you use?

  • Download the Jad file and cod

    I discovered that an OTA installation requires a file of cod and jad. Now if I want to download these two files on my website /data/test.jad and/data/test.cod, how can I download the jad on my device so that it installs OTA?

    thanx

    You can use Web browser - open the JAD file url in the browser and the appliance will provide a view with a button to install it on the device.

    Make sure that you have configured on your server mime types, as described in this article:

    What is - required for a web server MIME types use BlackBerry applications

  • How to access the textedit files in Icloud on time machine

    Hi all

    Bad, I need your help! I'm trying to access all my text edit files, which I had saved on ICloud.
    My laptop does not run successfully. I was proposed to restore and re - install the op system. So I run a Machine back up full time and I restored my laptop. I should all have backed up, right?
    Problem is: I'm trying to get all my work on Tex Edit, but I can't find it on Time Machine. Does anyone know how can I recover these files? I have two important years of drafting work there!
    It would be good to have your suggestion.

    Thanks in advance for your help

    Did you you save the files in the correct format - OS X Server: how to modify the configuration files - Apple support?

  • Re: How to save the video file to a DVD-R for Equium A200

    I have the Equium A200. Someone can tell me how to save the video file to a DVD-R on my computer in order to use it later, or use it in windows movie maker and must not simply copy on another DVD-R right?

    My cursor also has disappered in the suite of windows media, that makes life quite difficult.

    Any ideas?

    Thank you.

    You mean, you want to copy the original DVD movie to HARD drive?
    Well, you can copy the contents of the entire DVD to the HARD drive. It means that you have to copy a lot of data.
    I would recommend shrinking the DVD movies using a tool called DVD shrink.
    It would decrease the data and would also copy the content to the HARD drive.

    But if you want to use these files later in windows movie maker, so you must convert these using a 3rd party tool.
    Google a bit and you should find many free applications that would help you to do this work.

    Good bye

  • How to force the old games in a window instead of full screen__

    How to force the old games in a window instead of full screen
    to lighten my load of vid card and switch between windows without minimize
    This is for vista

    Some games have a function of window mode and others are not.

    as:

    If you put at the end of the section 'target' shortcut in the Sims 2, the command w as follows:

    | "X:\programs\games\sims 2\bin\Sims2.exe" w |

    The Sims 2 will run in windowed mode those that run you it!

    but not all games have the option!

    then go to Google and look for some info there ;)

  • How to get the bak files?

    Original title: Bak files.

    How to retrieve the bak files. They were e-mail messages that went somehow in the trash. I got the files, but they have bak next to them. Nothing I do will open to them. Thank you

    Microsoft MSDN can help, try this link.

    http://social.msdn.Microsoft.com/search/en-us?query=opening%20BAK%20Files&emptyWatermark=true&AC=5

  • How to move the MSWMM files and keep the data on my computer?

    I downloaded digital film from my camera to a destination on my D drive as a file MSWMM (collections), and whenever I try to move the downloaded film (collection), it does not recognize the movie more.

    How to move the MSWMM files and keep the data on my computer?

    The mswmm file is the project file, not a video.
    Think of it as a recipe for a cake, it only tells you what to do with the ingredients, but does not include the ingredients.
    The mswmm file tells the computer to look in a certain folder to use a video or audio file.
    If you move the file, then MM knows not where is the file, then you must tell it, by right clicking on a red x on the timeline and then choose search for the file.

  • How to display the .dcm file

    How to display the .dcm file

    Hello

    This should help you.

    http://www.FileInfo.com/extension/DCM

    See you soon.

Maybe you are looking for