Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Fermin
Posts: 32
Registered: ‎09-03-2008
My Device: Not Specified

Problem with Blackberry RIM Signature Tool

Hi,

I have some COD files that I have developed using the Widget toolkit for Visual Studio. These cod files need signed before I can use them on a device.

When I open the signature Tool from within Eclipse (3.4.0) every COD file from the current workspace is shown in the list. If I hit the 'Add' button and select the COD file I want to sign from another location the COD file isn't being listed with all of the other files.

I tried running the Signature Tool from the command line and the same thing happens, I hit Add, select the COD file and then nothing happens. If I specify the COD file on the command line then I get an error saying that the Signature Tool can't find any COD files.

The only exception to this was today, just before I went for lunch. When I clicked Add and selected the COD file it appeared in the list and I could sign it as expected but every other time I've tried it doesn't work.

Any suggestions as to what is happening or any other approaches I can take?

Please use plain text.
Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: Problem with Blackberry RIM Signature Tool

You can run the Signature Tool from Visual Studio without the need for Eclipse. Run "java -jar SignatureTool.jar -help" to see the usage. You'll be best served if you copy/move the sigtool.db and sigtool.csk from JDE's bin directory into the directory where you'll be running the Signature Tool from.

Please use plain text.
Developer
Fermin
Posts: 32
Registered: ‎09-03-2008
My Device: Not Specified

Re: Problem with Blackberry RIM Signature Tool

It's not working from the CommandLine either, the dialog box appears but when I try to add COD files it shows a progress bar but then doesn't work.

Please use plain text.
Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: Problem with Blackberry RIM Signature Tool

[ Edited ]

1. Make sure that SignatureTool.jar, sigtool.csk and sigtool.db are in the working directory where your COD file is located.

2. java -jar SignatureTool.jar -a -C -p <key password here> <your COD file(s)>

Please use plain text.
Developer
Adama
Posts: 77
Registered: ‎01-27-2010
My Device: Bold 9000
My Carrier: AT&T

Re: Problem with Blackberry RIM Signature Tool

Just for the benefit of anyone else that finds this while looking for help with the signature tool like I have been.  This same user posted on StackOverflow and said

 


Fermin wrote:
The issue was that the generated .csl and .cso file was not present in the same directory so the signature tool wasn't aware of which API's needed signed.

 

 

 

Please use plain text.