I've followed all the instructions at
http://wiki.phonegap.com/w/page/31930982/Getting%20Started%20with%20PhoneGap%20BlackBerry%20WebWorks
carefully, got my keys, and am trying to perform ant blackberry load-
device. The app builds and runs on the emulator no problem. The
signature tool that came with the SDK crashes after signing two items,
so following the advice here:
http://supportforums.blackberry.com/t5/Java-Development/Signature-Tool-freezes-during-signing/td-p/1315631
I replaced SignatureTool.jar with a newer version which successfully
completes the signing process (as far as that window is concerned).
But upon returning to the command prompt, the Ant script says [ERROR]
Signing Failed. There is no explanation of why. I tried changing the
version number in config.xml as I read somewhere that that has to be
incremented for each signing. But it didn't help. Full output is
below... I would be grateful for any pointers - have exhausted
Google.
C:\resources\phonegap\lib\blackberry\sample>ant blackberry load-device
Buildfile: C:\resources\phonegap\lib\blackberry\sample\build.xml
blackberry:
load-device:
generate-cod-name:
[echo] Generated name: PhoneGapSample.cod
clean:
package-app:
[mkdir] Created dir: C:\resources\phonegap\lib\blackberry\sample
\build\widget
[copy] Copying 9 files to C:\resources\phonegap\lib\blackberry
\sample\build\widget
[zip] Building zip: C:\resources\phonegap\lib\blackberry\sample
\build\PhoneGapSample.zip
load-device:
[exec] [INFO] Parsing command line options
[exec] [INFO] Parsing bbwp.properties
[exec] [INFO] Validating application archive
[exec] [INFO] Parsing config.xml
[exec] [WARNING] Failed to find the <author>
element
[exec] [INFO] Populating application source
[exec] [INFO] Compiling BlackBerry WebWorks
applicatio
n
[exec] [INFO] Starting signing tool
[exec] [ERROR] Signing failed