Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
06-03-2011 09:24 PM
I’ve stumbled across a deployment issue which I’m sure has a simple answer but it’s late in the day and I’m stumped. This was all working before so I must be doing something wrong now…
I am trying to rebuild and redeploy our BlackBerry app using the COD files via OTA. I am copying all the generated COD, JAR, files to our download server, but I get an error on the BlackBerry device at the end of the download which says that the download is failing due to “COD” file not found.
I believe that this error is occurring because there are no files of the form …-1.COD, …-2.COD, …-3.COD, etc. I only see a single COD file being generated, and a whole bunch of “debug” files.
If I put back my old files the download works fine so I know the server is setup fine.
I'm using the BlackBerry version of the Eclipse IDE. What is the step-by-step guide to generating all the necessary files within a project? I'm having to pretend to run a debug test through the simulator before I can get updated files. Surely there's a simpler way to just build the files I need for OTA deployment.
Any help greatly appreciated....
Solved! Go to Solution.
06-03-2011 09:30 PM
Just to add some more details
When I click
BlackBery / Sign / Sign With Signature Tool....
I get a window with all the separate "COD" files listed and successfully signed. All the "...-1.COD", "...-2.COD", etc. files are all listed there. But I can't see where these are in the deliverables folder -- all I see instead is the main COD and JAR files.
I can test just fine with that.
06-03-2011 10:05 PM
You only need to deploy the .cod files and one .jad file. If your app is large than 64K, there will be multiple .cod files starting xxx.cod, xxx-1.cod, xxx-2.cod and so on. You can see this in the .jad file. However, the JDE puts all these .cod file inside one file (xxx.cod). You need to extract the individule .cod files for deployment. Just use winzip to extract the individule .cod files and copy them to your web server along with the .jad file. Then point the broswer to the .jad and your app will be installed.
06-05-2011 08:42 PM
06-06-2011 11:48 AM
Doh! I was copying them from the Standards folder instead of the Web folder as you pointed out. It was late in the evening and I didn't see the mistake I was making. Thanks so much for responding :-)