02-23-2013 05:30 PM
We have developed our app using HTML5 Webworks and have tested it using Ripple and are now ready to sign the app, create a debug token, deploy to the device, and submit to the store. However, we have gotten bogged down in this whole process of working in the command prompt and trying to work with the keys, registering the keys, signing the app, creating the token etc. Here is a recap of what is going on:
02-25-2013 09:20 AM
You have quite a few errors there. I hope you have read the documentation provided online. If not please refer to the following guide for creating keys, and signing the application:
- http://developer.blackberry.com/html5/documentatio
- http://developer.blackberry.com/html5/documentatio
1. “Already registered with RDK” try requesting new keys. That is the only suggestion I can give you, or perhaps your keys are alreaedy registered.
2. “No config.xml file was found at the root of the .zip file” You need to make sure that your zip file does not have a subdirectory. If you are on a MAC and zip at the root you will have the following: App.zip with contents App/App/config.xml your application is looking in App/config.xml so instead zip just the contents ie: select all files inside App/ and compress them.
3. You can't sign the bar yet because you haven't generated it have you?
02-25-2013 09:20 AM
>>If I attempt to register the keys, I get a message “Already registered with RDK”.
Confirm that you have 3 files created (author.p12, sigtool.csk, sigtool.db) in the location specified in the "Backing up your files" section on this page http://developer.blackberry.com/html5/documentatio
Each of these are text files. You can open them and review the contents (do the values you see look like what you expect - author name, etc)?
If they exist then yes you have successfully registered the keyfiles that were sent to you, and you don't need to repeat that step again.
>>If I attempt to sign the zip file, I get “No config.xml file was found at the root of the .zip file”
All WebWorks applications require a config.xml file.
http://developer.blackberry.com/html5/documentatio
When you package an application using Ripple, it zips up the contents of the folder you specify in the "Settings" panel. Make sure you are pointing to the correct folder
This is correct folder structure for a WebWorks ZIP file
This is incorrect:
>>If I attempt to sign the bar file ...
Can you post a screenshot (or provide the exact values for each of the fields) of the Settings panel within Ripple? Also a screenshot of the folder you specify for "Project Root". I suspect there might be some errors with the values being used.
>>If I attempt to create a debug token, I get "The signature on the code signing request didn't verify -the likely cause of this problem is entering an incorrect csk password.
Have you registered for multiple sets of keys? The csk password is the keystore password you created when you first registered your code siging keys. Any chance you are simply using the wrong password?
blackberry-debugtokenrequest -storepass password123 -devicepin A123456B C:\temp\debugtoken.bar